mirror of https://github.com/arendst/Tasmota.git
parent
3078053301
commit
1a6acf5078
|
@ -2181,7 +2181,9 @@ void Every250mSeconds(void)
|
||||||
SettingsDefault();
|
SettingsDefault();
|
||||||
restart_flag = 2;
|
restart_flag = 2;
|
||||||
}
|
}
|
||||||
SettingsSaveAll();
|
if (2 == restart_flag) {
|
||||||
|
SettingsSaveAll();
|
||||||
|
}
|
||||||
restart_flag--;
|
restart_flag--;
|
||||||
if (restart_flag <= 0) {
|
if (restart_flag <= 0) {
|
||||||
AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_RESTARTING));
|
AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_APPLICATION D_RESTARTING));
|
||||||
|
|
Loading…
Reference in New Issue