From 97f1ee67d6dd0fc3e797d07fd7e9e4a7f8d17e31 Mon Sep 17 00:00:00 2001 From: GitHub gen-configs Action Date: Sun, 11 Sep 2022 07:53:45 +0000 Subject: [PATCH] Auto-generated configs and docs --- .../algo/auto_generated_commonenum.cpp | 23 ++++++++----------- .../algo/auto_generated_commonenum.h | 7 +++--- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/firmware/controllers/algo/auto_generated_commonenum.cpp b/firmware/controllers/algo/auto_generated_commonenum.cpp index 16939398ee..03a9f1d622 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 Thu Sep 01 02:16:49 UTC 2022 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sun Sep 11 07:52:24 UTC 2022 // see also gen_config_and_enums.bat @@ -106,6 +106,15 @@ case TransmissionControllerMode::SimpleTransmissionController: } return NULL; } +const char *getTriggerWheel(TriggerWheel value){ +switch(value) { +case TriggerWheel::T_PRIMARY: + return "T_PRIMARY"; +case TriggerWheel::T_SECONDARY: + return "T_SECONDARY"; + } + return NULL; +} const char *getTsCalMode(TsCalMode value){ switch(value) { case TsCalMode::EtbKd: @@ -139,7 +148,6 @@ case TsCalMode::Tps2SecondaryMin: } return NULL; } - const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value){ switch(value) { case MT_BOSCH_2_5: @@ -655,17 +663,6 @@ case TL_SEMI_AUTO: } return NULL; } - - -const char *getTrigger_wheel_e(TriggerWheel value){ -switch(value) { -case TriggerWheel::T_PRIMARY: - return "T_PRIMARY"; -case TriggerWheel::T_SECONDARY: - return "T_SECONDARY"; - } - return NULL; -} const char *getUart_device_e(uart_device_e value){ switch(value) { case UART_DEVICE_1: diff --git a/firmware/controllers/algo/auto_generated_commonenum.h b/firmware/controllers/algo/auto_generated_commonenum.h index 543c756b34..d2d34c1d2a 100644 --- a/firmware/controllers/algo/auto_generated_commonenum.h +++ b/firmware/controllers/algo/auto_generated_commonenum.h @@ -1,4 +1,4 @@ -// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Jun 27 00:08:52 UTC 2022 +// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sun Sep 11 07:52:24 UTC 2022 // see also gen_config_and_enums.bat @@ -21,6 +21,9 @@ const char *getSelectedGear(SelectedGear value); const char *getTransmissionControllerMode(TransmissionControllerMode value); #endif //__cplusplus #if __cplusplus +const char *getTriggerWheel(TriggerWheel value); +#endif //__cplusplus +#if __cplusplus const char *getTsCalMode(TsCalMode value); #endif //__cplusplus const char *getAir_pressure_sensor_type_e(air_pressure_sensor_type_e value); @@ -58,8 +61,6 @@ const char *getStepper_num_micro_steps_e(stepper_num_micro_steps_e value); const char *getTChargeMode_e(tChargeMode_e value); const char *getTiming_mode_e(timing_mode_e value); const char *getTle8888_mode_e(tle8888_mode_e value); - -const char *getTrigger_wheel_e(TriggerWheel value); const char *getUart_device_e(uart_device_e value); const char *getVe_override_e(ve_override_e value); const char *getVvt_mode_e(vvt_mode_e value);