mirror of https://github.com/arendst/Tasmota.git
Add settingsminimum
This commit is contained in:
parent
de45fda781
commit
5de16c1cca
|
@ -566,6 +566,7 @@ void setup(void) {
|
||||||
|
|
||||||
SettingsLoad();
|
SettingsLoad();
|
||||||
SettingsDelta();
|
SettingsDelta();
|
||||||
|
SettingsMinimum(); // Set life-saving parameters if out-of-range due to reconfig Settings Area
|
||||||
|
|
||||||
OsWatchInit();
|
OsWatchInit();
|
||||||
|
|
||||||
|
|
|
@ -858,8 +858,6 @@ void SettingsLoad(void) {
|
||||||
settings_crc32 = GetSettingsCrc32();
|
settings_crc32 = GetSettingsCrc32();
|
||||||
#endif // FIRMWARE_MINIMAL
|
#endif // FIRMWARE_MINIMAL
|
||||||
|
|
||||||
SettingsMinimum(); // Set life-saving parameters if out-of-range due to reconfig Settings Area
|
|
||||||
|
|
||||||
RtcSettingsLoad(1);
|
RtcSettingsLoad(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue