firmware wip - wipe eeprom message

This commit is contained in:
Marcus 2024-06-15 03:47:18 +02:00
parent 728489a494
commit b1da645027
2 changed files with 2 additions and 2 deletions

View file

@ -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";

View file

@ -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();