From e3d62a12ca626e81bd5374b34ea1ee3645e584d7 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 21 May 2017 10:15:57 -0400 Subject: [PATCH] better code name --- firmware/controllers/algo/obd_error_codes.h | 2 +- firmware/controllers/system/SingleTimerExecutor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/algo/obd_error_codes.h b/firmware/controllers/algo/obd_error_codes.h index 8427c066bd..5852dacfe2 100644 --- a/firmware/controllers/algo/obd_error_codes.h +++ b/firmware/controllers/algo/obd_error_codes.h @@ -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, diff --git a/firmware/controllers/system/SingleTimerExecutor.cpp b/firmware/controllers/system/SingleTimerExecutor.cpp index 306673a730..dfa58f0759 100644 --- a/firmware/controllers/system/SingleTimerExecutor.cpp +++ b/firmware/controllers/system/SingleTimerExecutor.cpp @@ -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;