Skip to content

Commit 8cfa6f2

Browse files
committed
Fix restart on wifimanager timeout
1 parent 3cae94d commit 8cfa6f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tasmota/tasmota_support/support_wifi.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,10 @@ void WifiCheck(uint8_t param)
923923
if (Wifi.config_counter) {
924924
Wifi.config_counter--;
925925
Wifi.counter = Wifi.config_counter +5;
926+
if (!Wifi.config_counter) {
927+
// SettingsSdkErase(); // Disabled v6.1.0b due to possible bad wifi connects
928+
TasmotaGlobal.restart_flag = 2;
929+
}
926930
} else {
927931
if (Wifi.counter <= 0) {
928932
WifiCheckIp();

0 commit comments

Comments
 (0)