mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 04:06:34 +00:00
Remove redundant call
Remove redundant call
This commit is contained in:
parent
3078053301
commit
1a6acf5078
@ -2181,7 +2181,9 @@ void Every250mSeconds(void)
|
|||||||
SettingsDefault();
|
SettingsDefault();
|
||||||
restart_flag = 2;
|
restart_flag = 2;
|
||||||
}
|
}
|
||||||
|
if (2 == restart_flag) {
|
||||||
SettingsSaveAll();
|
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…
x
Reference in New Issue
Block a user