mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Fix sonoff-minimal
Fix sonoff-minimal from using default settings
This commit is contained in:
parent
705b99cfba
commit
9e34d16e9a
@ -1,4 +1,5 @@
|
|||||||
/* 6.1.1c
|
/* 6.1.1c
|
||||||
|
* Fix sonoff-minimal from using default settings
|
||||||
* Add option + to command Rule to concatenate new rule with existing rules (#3365)
|
* Add option + to command Rule to concatenate new rule with existing rules (#3365)
|
||||||
* Add initial support for sensor MPU6050 (#3352)
|
* Add initial support for sensor MPU6050 (#3352)
|
||||||
* Add command SerialSend4 to send binary serial data (#3345)
|
* Add command SerialSend4 to send binary serial data (#3345)
|
||||||
|
@ -286,8 +286,10 @@ void SettingsLoad()
|
|||||||
snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"), settings_location, Settings.save_flag);
|
snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"), settings_location, Settings.save_flag);
|
||||||
AddLog(LOG_LEVEL_DEBUG);
|
AddLog(LOG_LEVEL_DEBUG);
|
||||||
|
|
||||||
|
#ifndef BE_MINIMAL
|
||||||
if (bad_crc || (Settings.cfg_holder != (uint16_t)CFG_HOLDER)) { SettingsDefault(); }
|
if (bad_crc || (Settings.cfg_holder != (uint16_t)CFG_HOLDER)) { SettingsDefault(); }
|
||||||
settings_crc = GetSettingsCrc();
|
settings_crc = GetSettingsCrc();
|
||||||
|
#endif // BE_MINIMAL
|
||||||
|
|
||||||
RtcSettingsLoad();
|
RtcSettingsLoad();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user