diff --git a/sonoff/_changelog.ino b/sonoff/_changelog.ino index 690fe4438..7dcbd0821 100644 --- a/sonoff/_changelog.ino +++ b/sonoff/_changelog.ino @@ -1,4 +1,5 @@ /* 6.1.1c + * Fix sonoff-minimal from using default settings * Add option + to command Rule to concatenate new rule with existing rules (#3365) * Add initial support for sensor MPU6050 (#3352) * Add command SerialSend4 to send binary serial data (#3345) diff --git a/sonoff/settings.ino b/sonoff/settings.ino index 10fbd10ed..1e04128b9 100644 --- a/sonoff/settings.ino +++ b/sonoff/settings.ino @@ -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); AddLog(LOG_LEVEL_DEBUG); +#ifndef BE_MINIMAL if (bad_crc || (Settings.cfg_holder != (uint16_t)CFG_HOLDER)) { SettingsDefault(); } settings_crc = GetSettingsCrc(); +#endif // BE_MINIMAL RtcSettingsLoad(); }