Attempt to fix broken settings

This commit is contained in:
Erik Montnemery 2021-01-21 08:56:41 +01:00 committed by GitHub
parent 15b41881d8
commit 59de8c05ea
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;