better code name

This commit is contained in:
rusefi 2017-05-21 10:15:57 -04:00
parent ba0c444d47
commit e3d62a12ca
2 changed files with 2 additions and 2 deletions

View File

@ -1864,7 +1864,7 @@ typedef enum {
CUSTOM_ERR_6505 = 6505,
CUSTOM_EGO_TYPE = 6506,
CUSTOM_LIST_LOOP = 6507,
CUSTOM_ERR_6508 = 6508,
CUSTOM_ERR_LOCK_ISSUE = 6508,
CUSTOM_CONFIG_NOT_READY = 6509,
CUSTOM_ERR_TRG_ANGLE_ORDER = 6510,
CUSTOM_ERR_STATE_NULL = 6511,

View File

@ -117,7 +117,7 @@ void Executor::doExecute() {
}
lastExecutionCount = totalExecuted;
if (!isLocked()) {
firmwareError(CUSTOM_ERR_6508, "Someone has stolen my lock");
firmwareError(CUSTOM_ERR_LOCK_ISSUE, "Someone has stolen my lock");
return;
}
reentrantFlag = false;