mirror of https://github.com/arendst/Tasmota.git
Fix restart on wifimanager timeout
This commit is contained in:
parent
3cae94d710
commit
8cfa6f28ea
|
@ -923,6 +923,10 @@ void WifiCheck(uint8_t param)
|
|||
if (Wifi.config_counter) {
|
||||
Wifi.config_counter--;
|
||||
Wifi.counter = Wifi.config_counter +5;
|
||||
if (!Wifi.config_counter) {
|
||||
// SettingsSdkErase(); // Disabled v6.1.0b due to possible bad wifi connects
|
||||
TasmotaGlobal.restart_flag = 2;
|
||||
}
|
||||
} else {
|
||||
if (Wifi.counter <= 0) {
|
||||
WifiCheckIp();
|
||||
|
|
Loading…
Reference in New Issue