mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-21 14:37:01 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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