ESP8266: Fix partial erase of connection settings (#1150)
* Fix partial erase of connection settings #1149 * Update WM version and add disconnect
This commit is contained in:
1 parent
a9342f743f
commit
ef41546c94
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -1047,7 +1047,8 @@ void eraseAndRestart() {
|
||||
Log.trace(F("Formatting requested, result: %d" CR), SPIFFS.format());
|
||||
|
||||
# if defined(ESP8266)
|
||||
SPIFFS.format();
|
||||
WiFi.disconnect(true);
|
||||
wifiManager.resetSettings();
|
||||
delay(5000);
|
||||
ESP.reset();
|
||||
# else
|
||||
|
||||
Reference in new issue
Block a user