This commit is contained in:
parent
94b5b3a089
commit
3bf9a982d9
|
@ -1,6 +1,6 @@
|
|||
#include "global.h"
|
||||
#include "engine_types.h"
|
||||
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Wed Oct 27 01:16:02 UTC 2021
|
||||
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Thu Oct 28 12:11:41 EDT 2021
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -494,3 +494,48 @@ case TT_VVT_NISSAN_VQ35:
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
const char *getTs_command_e(ts_command_e value){
|
||||
switch(value) {
|
||||
case TS_COMMAND_1:
|
||||
return "TS_COMMAND_1";
|
||||
case TS_COMMAND_11:
|
||||
return "TS_COMMAND_11";
|
||||
case TS_COMMAND_12:
|
||||
return "TS_COMMAND_12";
|
||||
case TS_COMMAND_13:
|
||||
return "TS_COMMAND_13";
|
||||
case TS_COMMAND_14:
|
||||
return "TS_COMMAND_14";
|
||||
case TS_COMMAND_15:
|
||||
return "TS_COMMAND_15";
|
||||
case TS_COMMAND_16:
|
||||
return "TS_COMMAND_16";
|
||||
case TS_COMMAND_17:
|
||||
return "TS_COMMAND_17";
|
||||
case TS_COMMAND_4:
|
||||
return "TS_COMMAND_4";
|
||||
case TS_COMMAND_5:
|
||||
return "TS_COMMAND_5";
|
||||
case TS_COMMAND_9:
|
||||
return "TS_COMMAND_9";
|
||||
case TS_COMMAND_GNITION_CATEGORY:
|
||||
return "TS_COMMAND_GNITION_CATEGORY";
|
||||
case TS_DEBUG_MODE:
|
||||
return "TS_DEBUG_MODE";
|
||||
case TS_GRAB_PEDAL_UP:
|
||||
return "TS_GRAB_PEDAL_UP";
|
||||
case TS_GRAB_PEDAL_WOT:
|
||||
return "TS_GRAB_PEDAL_WOT";
|
||||
case TS_GRAB_TPS_CLOSED:
|
||||
return "TS_GRAB_TPS_CLOSED";
|
||||
case TS_GRAB_TPS_WOT:
|
||||
return "TS_GRAB_TPS_WOT";
|
||||
case TS_INJECTOR_CATEGORY:
|
||||
return "TS_INJECTOR_CATEGORY";
|
||||
case TS_RESET_TLE8888:
|
||||
return "TS_RESET_TLE8888";
|
||||
case TS_WRITE_FLASH:
|
||||
return "TS_WRITE_FLASH";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Sun Oct 24 19:26:39 UTC 2021
|
||||
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Thu Oct 28 12:11:41 EDT 2021
|
||||
// see also gen_config_and_enums.bat
|
||||
|
||||
|
||||
|
@ -8,3 +8,4 @@
|
|||
const char *getDebug_mode_e(debug_mode_e value);
|
||||
const char *getEngine_type_e(engine_type_e value);
|
||||
const char *getTrigger_type_e(trigger_type_e value);
|
||||
const char *getTs_command_e(ts_command_e value);
|
||||
|
|
|
@ -526,3 +526,27 @@ typedef enum {
|
|||
// todo: convert to ENUM_16_BITS? I can see 257 triggers but not 65K triggers
|
||||
Force_4_bytes_size_trigger_type = ENUM_32_BITS,
|
||||
} trigger_type_e; // TriggerProcessor.java has this "trigger_type_e" name hard-coded!
|
||||
|
||||
|
||||
typedef enum {
|
||||
TS_DEBUG_MODE = 0,
|
||||
TS_COMMAND_1 = 1,
|
||||
TS_GRAB_TPS_CLOSED = 2,
|
||||
TS_GRAB_TPS_WOT = 3,
|
||||
TS_COMMAND_4 = 4,
|
||||
TS_COMMAND_5 = 5,
|
||||
TS_GRAB_PEDAL_UP = 6,
|
||||
TS_GRAB_PEDAL_WOT = 7,
|
||||
TS_RESET_TLE8888 = 8,
|
||||
TS_COMMAND_9 = 9,
|
||||
TS_WRITE_FLASH = 10,
|
||||
TS_COMMAND_11 = 11,
|
||||
TS_COMMAND_12 = 12,
|
||||
TS_COMMAND_13 = 13,
|
||||
TS_COMMAND_14 = 14,
|
||||
TS_COMMAND_15 = 15,
|
||||
TS_COMMAND_16 = 16,
|
||||
TS_COMMAND_17 = 17,
|
||||
TS_COMMAND_IGNITION_CATEGORY = 18,
|
||||
TS_INJECTOR_CATEGORY = 19,
|
||||
} ts_command_e;
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
package com.rusefi.enums;
|
||||
//auto-generated by ToJavaEnum.java
|
||||
|
||||
|
||||
|
||||
public enum ts_command_e {
|
||||
TS_DEBUG_MODE,
|
||||
TS_COMMAND_1,
|
||||
TS_GRAB_TPS_CLOSED,
|
||||
TS_GRAB_TPS_WOT,
|
||||
TS_COMMAND_4,
|
||||
TS_COMMAND_5,
|
||||
TS_GRAB_PEDAL_UP,
|
||||
TS_GRAB_PEDAL_WOT,
|
||||
TS_RESET_TLE8888,
|
||||
TS_COMMAND_9,
|
||||
TS_WRITE_FLASH,
|
||||
TS_COMMAND_11,
|
||||
TS_COMMAND_12,
|
||||
TS_COMMAND_13,
|
||||
TS_COMMAND_14,
|
||||
TS_COMMAND_15,
|
||||
TS_COMMAND_16,
|
||||
TS_COMMAND_17,
|
||||
TS_COMMAND_GNITION_CATEGORY,
|
||||
TS_INJECTOR_CATEGORY,
|
||||
}
|
Loading…
Reference in New Issue