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
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ ahtx0 = Adafruit AHTX0
|
||||
ina226 = https://github.com/jarzebski/Arduino-INA226.git#968a684
|
||||
a6lib = https://github.com/h2zero/A6lib
|
||||
wifimanager32 = https://github.com/tzapu/WiFiManager.git#c3ff582
|
||||
wifimanager8266 = https://github.com/tzapu/WiFiManager.git#0.16.0
|
||||
wifimanager8266 = https://github.com/tzapu/WiFiManager.git#2.0.5-beta
|
||||
ethernet = Ethernet
|
||||
esp8266_mdns = esp8266_mdns
|
||||
wire = Wire
|
||||
|
||||
Reference in new issue
Block a user