diff --git a/firmware/controllers/algo/auto_generated_commonenum.cpp b/firmware/controllers/algo/auto_generated_commonenum.cpp index d73c26a8de..c23d1f435b 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.cpp +++ b/firmware/controllers/algo/auto_generated_commonenum.cpp @@ -1,6 +1,6 @@ #include "global.h" #include "rusefi_enums.h" -// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sun Aug 01 01:22:54 UTC 2021 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Aug 02 13:23:06 EDT 2021 // see also gen_config_and_enums.bat @@ -148,6 +148,8 @@ case CAN_BUS_BMW_E90: return "CAN_BUS_BMW_E90"; case CAN_BUS_GENESIS_COUPE: return "CAN_BUS_GENESIS_COUPE"; +case CAN_BUS_HONDA_K: + return "CAN_BUS_HONDA_K"; case CAN_BUS_Haltech: return "CAN_BUS_Haltech"; case CAN_BUS_MAZDA_RX8: diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index ac8ecfd7b6..ccd8a16db4 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -951,6 +951,8 @@ typedef enum { CAN_BUS_MQB = 8, CAN_BUS_NISSAN_VQ = 9, CAN_BUS_GENESIS_COUPE = 10, + CAN_BUS_HONDA_K = 11, + Internal_ForceMyEnumIntSize_can_nbc = ENUM_32_BITS, } can_nbc_e; diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 76784cfa98..24c2d8c3bf 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -661,7 +661,7 @@ float fanOffTemperature;+Cooling fan turn-off temperature threshold, in Celsius; float vehicleSpeedCoef;+This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h;"coef", 1, 0, 0.01, 2000, 2 -custom can_nbc_e 4 bits, U32, @OFFSET@, [0:4], "None", "FIAT", "VAG", "MAZDA RX8", "BMW", "W202", "BMW E90", "Haltech", "VAG MQB", "Nissan VQ35", "Genesis Coupe", "type 11", "type 12", "INVALID", "INVALID" +custom can_nbc_e 4 bits, U32, @OFFSET@, [0:4], "None", "FIAT", "VAG", "MAZDA RX8", "BMW", "W202", "BMW E90", "Haltech", "VAG MQB", "Nissan VQ35", "Genesis Coupe", "Honda K", "type 12", "type 13", "type 14", "INVALID" can_nbc_e canNbcType;set can_mode X int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000, 2