[SYS] Fix erase function for ESP8266 (#2101)

And remove restart parameter as it is not used (the ESP always restart after erase for our use cases)

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-11-10 08:23:53 -06:00
1 parent e2641f49e7
commit 742945906d
3 files changed
+9 -13

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ void MeasureGPIOInput() {
}
# endif
Log.notice(F("Erasing ESP Config, restarting" CR));
erase(true);
eraseConfig();
}
} else {
resetTime = 0;