Merge pull request #10648 from emontnemery/patch-4

Attempt to fix broken settings without filesystem
This commit is contained in:
Theo Arends 2021-01-21 14:03:41 +01:00 committed by GitHub
commit 5871ceaa1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,7 +512,7 @@ void SettingsSave(uint8_t rotate)
TasmotaGlobal.stop_flash_rotate = 1;
}
if (2 == rotate) { // Use eeprom flash slot and erase next flash slots if stop_flash_rotate is off (default)
settings_location = FLASH_EEPROM_START;
settings_location = FLASH_EEPROM_START + 1;
}
if (TasmotaGlobal.stop_flash_rotate) {
settings_location = FLASH_EEPROM_START;