Skip to content

Commit

Permalink
Fix migration error to filesystem settings (#19454)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbode authored Sep 4, 2023
1 parent 434da4a commit 1ea1258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/tasmota_xdrv_driver/xdrv_27_esp32_shutter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ void ShutterSettingsLoad(bool erase) {
void ShutterSettingsSave(void) {
// Called from FUNC_SAVE_SETTINGS every SaveData second and at restart
uint32_t crc32 = GetCfgCrc32((uint8_t*)&ShutterSettings +4, sizeof(ShutterSettings) -4); // Skip crc32
if (crc32 != ShutterSettings.crc32) {
if (crc32 != ShutterSettings.crc32 && ShutterSettings.version > 0) {
// Try to save file /.drvset027
ShutterSettings.crc32 = crc32;

Expand Down

0 comments on commit 1ea1258

Please # to comment.