Skip to content

Commit

Permalink
comment unused obd_error_codes (#186)
Browse files Browse the repository at this point in the history
* comment unused  obd_error_codes

* remove duplicated values
  • Loading branch information
mi-hol committed Jul 9, 2023
1 parent fd603f6 commit 5b349c9
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions firmware/controllers/algo/obd_error_codes.h
Original file line number Diff line number Diff line change
@@ -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
*
Expand All @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5b349c9

Please sign in to comment.