mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
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…
x
Reference in New Issue
Block a user