partial rollback

This commit is contained in:
rusefi 2020-05-23 16:24:26 -04:00
parent 0597861b93
commit 60bdc852dc
1 changed files with 2 additions and 1 deletions

View File

@ -135,7 +135,8 @@ persisted_configuration_state_e readConfiguration(Logging * logger) {
}
if (result == CRC_FAILED) {
firmwareError(CUSTOM_ERR_FLASH_CRC_FAILED, "flash CRC failed");
// we are here on first boot on brand new chip
warning(CUSTOM_ERR_FLASH_CRC_FAILED, "flash CRC failed");
resetConfigurationExt(logger, DEFAULT_ENGINE_TYPE PASS_ENGINE_PARAMETER_SUFFIX);
} else if (result == INCOMPATIBLE_VERSION) {
resetConfigurationExt(logger, engineConfiguration->engineType PASS_ENGINE_PARAMETER_SUFFIX);