From 5b349c9bac240c03385c6e0c5176304e108f2dec Mon Sep 17 00:00:00 2001 From: mi-hol <22799428+mi-hol@users.noreply.github.com> Date: Sun, 9 Jul 2023 22:22:06 +0200 Subject: [PATCH] comment unused obd_error_codes (#186) * comment unused obd_error_codes * remove duplicated values --- firmware/controllers/algo/obd_error_codes.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/firmware/controllers/algo/obd_error_codes.h b/firmware/controllers/algo/obd_error_codes.h index bbf21cced2..c59df7107a 100644 --- a/firmware/controllers/algo/obd_error_codes.h +++ b/firmware/controllers/algo/obd_error_codes.h @@ -1,6 +1,6 @@ /** * @file obd_error_codes.h - * @brief Standart OBD-II error codes + * @brief Standart and custom OBD-II error codes * * More info at http://www.obd-codes.com/faq/obd2-codes-explained.php * @@ -14,16 +14,6 @@ enum class ObdCode : uint16_t { None = 0, -//P0001 Fuel Volume Regulator Control Circuit/Open -//P0002 Fuel Volume Regulator Control Circuit Range/Performance -//P0003 Fuel Volume Regulator Control Circuit Low -//P0004 Fuel Volume Regulator Control Circuit High -//P0005 Fuel Shutoff Valve "A" Control Circuit/Open -//P0006 Fuel Shutoff Valve "A" Control Circuit Low -//P0007 Fuel Shutoff Valve "A" Control Circuit High -//P0008 Engine Positions System Performance Bank 1 -//P0009 Engine Position System Performance Bank 2 -//P0010 "A" Camshaft Position Actuator Circuit (Bank 1) //P0001 Fuel Volume Regulator Control Circuit/Open //P0002 Fuel Volume Regulator Control Circuit Range/Performance //P0003 Fuel Volume Regulator Control Circuit Low @@ -1772,9 +1762,9 @@ enum class ObdCode : uint16_t { CUSTOM_TOO_LONG_CRANKING_FUEL_INJECTION = 6054, CUSTOM_INTERPOLATE_NAN = 6055, ERROR_HISTO_NAME = 6056, - CUSTOM_6057 = 6057, + // unused code: CUSTOM_6057 = 6057, CUSTOM_OBD_HIGH_FREQUENCY = 6058, - CUSTOM_OBD_59 = 6059, + // unused code: CUSTOM_OBD_59 = 6059, CUSTOM_OBD_MMC_START1 = 6060, CUSTOM_OBD_MMC_START2 = 6061,