From 63f3e8abde3b33f6b23ea72273133bd01ace1186 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 20 Nov 2016 23:01:49 -0500 Subject: [PATCH] auto-sync --- firmware/controllers/algo/obd_error_codes.h | 4 ++-- firmware/controllers/trigger/main_trigger_callback.cpp | 2 +- firmware/util/datalogging.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/algo/obd_error_codes.h b/firmware/controllers/algo/obd_error_codes.h index 0c72099c7e..580a41f82e 100644 --- a/firmware/controllers/algo/obd_error_codes.h +++ b/firmware/controllers/algo/obd_error_codes.h @@ -1712,14 +1712,14 @@ typedef enum { CUSTOM_OBD_41 = 6041, CUSTOM_OBD_42 = 6042, CUSTOM_OBD_MMC_ERROR = 6043, - CUSTOM_OBD_44 = 6044, + CUSTOM_LOGGING_BUFFER_OVERFLOW = 6044, CUSTOM_OBD_SKIPPED_SPARK = 6045, CUSTOM_OBD_SKIPPED_FUEL = 6046, CUSTOM_OBD_SCH_REUSE = 6047, CUSTOM_OBD_48 = 6048, CUSTOM_OBD_49 = 6049, - CUSTOM_OBD_50 = 6050, + CUSTOM_TOO_LONG_FUEL_INJECTION = 6050, CUSTOM_OBD_51 = 6051, CUSTOM_OBD_52 = 6052, CUSTOM_OBD_53 = 6053, diff --git a/firmware/controllers/trigger/main_trigger_callback.cpp b/firmware/controllers/trigger/main_trigger_callback.cpp index 1079db442a..281716f592 100644 --- a/firmware/controllers/trigger/main_trigger_callback.cpp +++ b/firmware/controllers/trigger/main_trigger_callback.cpp @@ -235,7 +235,7 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(int injEventIndex, InjectionE #endif /*EFI_PRINTF_FUEL_DETAILS */ if (injectionDuration > getCrankshaftRevolutionTimeMs(rpm)) { - warning(CUSTOM_OBD_50, "Too long fuel injection"); + warning(CUSTOM_TOO_LONG_FUEL_INJECTION, "Too long fuel injection"); } // todo: pre-calculate 'numberOfInjections' diff --git a/firmware/util/datalogging.cpp b/firmware/util/datalogging.cpp index e9a4a51b54..57b12b13b7 100644 --- a/firmware/util/datalogging.cpp +++ b/firmware/util/datalogging.cpp @@ -57,7 +57,7 @@ static ALWAYS_INLINE bool validateBuffer(Logging *logging, uint32_t extraLen) { if (remainingSize(logging) < extraLen + 1) { #if EFI_PROD_CODE - warning(CUSTOM_OBD_44, "output overflow %s", logging->name); + warning(CUSTOM_LOGGING_BUFFER_OVERFLOW, "output overflow %s", logging->name); #endif return true; }