auto-sync
This commit is contained in:
parent
615dbe81be
commit
e11767cc50
|
@ -1818,8 +1818,8 @@ typedef enum {
|
||||||
CUSTOM_ERR_6138 = 6138,
|
CUSTOM_ERR_6138 = 6138,
|
||||||
CUSTOM_ERR_6139 = 6139,
|
CUSTOM_ERR_6139 = 6139,
|
||||||
|
|
||||||
CUSTOM_ERR_6140 = 6140,
|
CUSTOM_ERR_TOO_FEW_EVENTS = 6140,
|
||||||
CUSTOM_ERR_6141 = 6141,
|
CUSTOM_ERR_FLASH_CRC_FAILED = 6141,
|
||||||
CUSTOM_ERR_6142 = 6142,
|
CUSTOM_ERR_6142 = 6142,
|
||||||
CUSTOM_ERR_6143 = 6143,
|
CUSTOM_ERR_6143 = 6143,
|
||||||
CUSTOM_ERR_6144 = 6144,
|
CUSTOM_ERR_6144 = 6144,
|
||||||
|
|
|
@ -110,6 +110,7 @@ persisted_configuration_state_e readConfiguration(Logging * logger) {
|
||||||
persisted_configuration_state_e result;
|
persisted_configuration_state_e result;
|
||||||
if (!isValidCrc(&persistentState)) {
|
if (!isValidCrc(&persistentState)) {
|
||||||
result = CRC_FAILED;
|
result = CRC_FAILED;
|
||||||
|
warning(CUSTOM_ERR_FLASH_CRC_FAILED, "flash CRC failed");
|
||||||
resetConfigurationExt(logger, DEFAULT_ENGINE_TYPE PASS_ENGINE_PARAMETER);
|
resetConfigurationExt(logger, DEFAULT_ENGINE_TYPE PASS_ENGINE_PARAMETER);
|
||||||
} else if (persistentState.version != FLASH_DATA_VERSION || persistentState.size != PERSISTENT_SIZE) {
|
} else if (persistentState.version != FLASH_DATA_VERSION || persistentState.size != PERSISTENT_SIZE) {
|
||||||
result = INCOMPATIBLE_VERSION;
|
result = INCOMPATIBLE_VERSION;
|
||||||
|
|
|
@ -86,7 +86,7 @@ void TriggerShape::calculateTriggerSynchPoint(TriggerState *state DECLARE_ENGINE
|
||||||
totalExpected += expectedEventCount[i];
|
totalExpected += expectedEventCount[i];
|
||||||
}
|
}
|
||||||
if (totalExpected < 2) {
|
if (totalExpected < 2) {
|
||||||
firmwareError(CUSTOM_ERR_6140, "Too few trigger events");
|
firmwareError(CUSTOM_ERR_TOO_FEW_EVENTS, "Too few trigger events");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -290,5 +290,5 @@ int getRusEfiVersion(void) {
|
||||||
return 123; // this is here to make the compiler happy about the unused array
|
return 123; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||||
return 3211; // this is here to make the compiler happy about the unused array
|
return 3211; // this is here to make the compiler happy about the unused array
|
||||||
return 20161201;
|
return 20161213;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue