firmware wip - wipe eeprom message
This commit is contained in:
parent
728489a494
commit
b1da645027
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* CanGrow_Version.h gets generated from cangrow.sh */
|
/* CanGrow_Version.h gets generated from cangrow.sh */
|
||||||
|
|
||||||
const char* CanGrowVer = "0.1-dev";
|
const char* CanGrowVer = "0.1-dev";
|
||||||
const char* CanGrowBuild = "52a55c8";
|
const char* CanGrowBuild = "728489a";
|
||||||
|
|
||||||
|
|
|
@ -182,7 +182,7 @@ void SysWipe() {
|
||||||
String body = returnHTMLheader();
|
String body = returnHTMLheader();
|
||||||
// TODO only debug and development solution, remove this later
|
// TODO only debug and development solution, remove this later
|
||||||
if(webserver.hasArg("confirmed")) {
|
if(webserver.hasArg("confirmed")) {
|
||||||
body += "<div class='warnmsg'><h2>!! Wiping CanGrow's EEPROM !!</h2><br>Device will restart in a few seconds.</div>";
|
body += "<div class='warnmsg'><h2>!! Wiping CanGrow's EEPROM !!</h2><br>Device will restart in a few seconds.<br>After restart a new WiFi 'CanGrow-unconfigured' will be created. To access the WebUI visit <a href='http://192.168.4.20'>http://192.168.4.20</a></div>";
|
||||||
body += FPSTR(HTMLfooter);
|
body += FPSTR(HTMLfooter);
|
||||||
webserver.send(200, "text/html", body);
|
webserver.send(200, "text/html", body);
|
||||||
wipeEEPROM();
|
wipeEEPROM();
|
||||||
|
|
Loading…
Reference in a new issue