generate java enum from C enum? generate both C and java from yaml? #2102

This commit is contained in:
rusefillc 2021-10-23 23:42:22 -04:00
parent 29faddf338
commit 923f5d1a6c
3 changed files with 1 additions and 6 deletions

View File

@ -308,8 +308,6 @@ typedef enum {
DBG_UNUSED_42 = 42,
DBG_INJECTOR_COMPENSATION = 43,
DBG_DYNO_VIEW = 44,
// todo: because of getEnumOptionsForTunerStudio 'getEnumOptionsForTunerStudio' would not work here
// todo: https://github.com/rusefi/rusefi/issues/2102
DBG_LOGIC_ANALYZER = 45,
DBG_RUSEFI_WIDEBAND = 46,
DBG_TCU = 47,

View File

@ -469,9 +469,6 @@ end_struct
#define TT_TT_FORD_TFI_PIP 65
#define TT_TT_SUZUKI_G13B 66
! todo https://github.com/rusefi/rusefi/issues/2102
#define DBG_DBG_LOGIC_ANALYZER 45
! todo https://github.com/rusefi/rusefi/issues/2102
#define ET_DEFAULT_FRANKENSO 0
#define ET_MIATA_TCU_PROTEUS 1

View File

@ -72,7 +72,7 @@ public class PwmHardwareTest extends RusefiTestBase {
ecu.sendCommand(CMD_TRIGGER_PIN + " 1 PA8");
/* DBG_LOGIC_ANALYZER */
ecu.sendCommand("set debug_mode " + DBG_DBG_LOGIC_ANALYZER);
ecu.sendCommand("set debug_mode " + com.rusefi.enums.debug_mode_e.DBG_LOGIC_ANALYZER);
/* 160 Hz */
ecu.sendCommand("set idle_solenoid_freq " + FREQUENCY);