Fix stop flash rotate functionality

Fix stop flash rotate functionality
This commit is contained in:
Theo Arends 2019-02-01 14:05:55 +01:00
parent 79e001caae
commit de41a88bec

View File

@ -472,7 +472,7 @@ void SettingsLoad(void)
if (Settings.save_flag > save_flag) {
save_flag = Settings.save_flag;
settings_location = flash_location;
if (Settings.flag.stop_flash_rotate) {
if (Settings.flag.stop_flash_rotate && (0 == i)) { // Stop only if eeprom area should be used and it is valid
break;
}
}