Auto-generated configs and docs

This commit is contained in:
GitHub gen-configs Action 2022-09-11 07:53:45 +00:00
parent 2a05a31550
commit d8169b5643
7 changed files with 25 additions and 27 deletions

View File

@ -2308,8 +2308,6 @@
#define trigger_type_offset 468
#define TRIGGER_TYPE_WITH_SECOND_WHEEL trigger_type == 1 || trigger_type == 2 || trigger_type == 3 || trigger_type == 4 || trigger_type == 11 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 21 || trigger_type == 25 || trigger_type == 28 || trigger_type == 29 || trigger_type == 31 || trigger_type == 34 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64
#define TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION trigger_type == 8 || trigger_type == 9 || trigger_type == 12 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69
#define trigger_wheel_e_T_PRIMARY 0
#define trigger_wheel_e_T_SECONDARY 1
#define triggerCompCenterVolt_offset 2536
#define triggerCompHystMax_offset 2538
#define triggerCompHystMin_offset 2537
@ -2364,6 +2362,8 @@
#define triggerSimulatorPins1_offset 748
#define triggerSimulatorPins2_offset 750
#define triggerSimulatorPins3_offset 752
#define TriggerWheel_T_PRIMARY 0
#define TriggerWheel_T_SECONDARY 1
#define TRIM_SIZE 4
#define TS_BLOCK_READ_TIMEOUT 3000
#define TS_BURN_COMMAND 'B'

View File

@ -2308,8 +2308,6 @@
#define trigger_type_offset 468
#define TRIGGER_TYPE_WITH_SECOND_WHEEL trigger_type == 1 || trigger_type == 2 || trigger_type == 3 || trigger_type == 4 || trigger_type == 11 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 21 || trigger_type == 25 || trigger_type == 28 || trigger_type == 29 || trigger_type == 31 || trigger_type == 34 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64
#define TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION trigger_type == 8 || trigger_type == 9 || trigger_type == 12 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69
#define trigger_wheel_e_T_PRIMARY 0
#define trigger_wheel_e_T_SECONDARY 1
#define triggerCompCenterVolt_offset 2536
#define triggerCompHystMax_offset 2538
#define triggerCompHystMin_offset 2537
@ -2364,6 +2362,8 @@
#define triggerSimulatorPins1_offset 748
#define triggerSimulatorPins2_offset 750
#define triggerSimulatorPins3_offset 752
#define TriggerWheel_T_PRIMARY 0
#define TriggerWheel_T_SECONDARY 1
#define TRIM_SIZE 4
#define TS_BLOCK_READ_TIMEOUT 3000
#define TS_BURN_COMMAND 'B'

View File

@ -2275,8 +2275,6 @@
#define trigger_type_offset 468
#define TRIGGER_TYPE_WITH_SECOND_WHEEL trigger_type == 1 || trigger_type == 2 || trigger_type == 3 || trigger_type == 4 || trigger_type == 11 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 21 || trigger_type == 25 || trigger_type == 28 || trigger_type == 29 || trigger_type == 31 || trigger_type == 34 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64
#define TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION trigger_type == 8 || trigger_type == 9 || trigger_type == 12 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69
#define trigger_wheel_e_T_PRIMARY 0
#define trigger_wheel_e_T_SECONDARY 1
#define triggerCompCenterVolt_offset 2536
#define triggerCompHystMax_offset 2538
#define triggerCompHystMin_offset 2537
@ -2331,6 +2329,8 @@
#define triggerSimulatorPins1_offset 748
#define triggerSimulatorPins2_offset 750
#define triggerSimulatorPins3_offset 752
#define TriggerWheel_T_PRIMARY 0
#define TriggerWheel_T_SECONDARY 1
#define TRIM_SIZE 4
#define TS_BLOCK_READ_TIMEOUT 300
#define TS_BURN_COMMAND 'B'

View File

@ -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:

View File

@ -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);

View File

@ -2308,8 +2308,6 @@
#define trigger_type_offset 468
#define TRIGGER_TYPE_WITH_SECOND_WHEEL trigger_type == 1 || trigger_type == 2 || trigger_type == 3 || trigger_type == 4 || trigger_type == 11 || trigger_type == 15 || trigger_type == 16 || trigger_type == 19 || trigger_type == 21 || trigger_type == 25 || trigger_type == 28 || trigger_type == 29 || trigger_type == 31 || trigger_type == 34 || trigger_type == 35 || trigger_type == 36 || trigger_type == 37 || trigger_type == 40 || trigger_type == 49 || trigger_type == 50 || trigger_type == 53 || trigger_type == 54 || trigger_type == 63 || trigger_type == 64
#define TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION trigger_type == 8 || trigger_type == 9 || trigger_type == 12 || trigger_type == 17 || trigger_type == 18 || trigger_type == 23 || trigger_type == 48 || trigger_type == 69
#define trigger_wheel_e_T_PRIMARY 0
#define trigger_wheel_e_T_SECONDARY 1
#define triggerCompCenterVolt_offset 2536
#define triggerCompHystMax_offset 2538
#define triggerCompHystMin_offset 2537
@ -2364,6 +2362,8 @@
#define triggerSimulatorPins1_offset 748
#define triggerSimulatorPins2_offset 750
#define triggerSimulatorPins3_offset 752
#define TriggerWheel_T_PRIMARY 0
#define TriggerWheel_T_SECONDARY 1
#define TRIM_SIZE 4
#define TS_BLOCK_READ_TIMEOUT 3000
#define TS_BURN_COMMAND 'B'

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Sun Sep 11 06:42:04 UTC 2022
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Sun Sep 11 07:53:34 UTC 2022
// by class com.rusefi.output.FileJavaFieldsConsumer
import com.rusefi.config.*;
@ -2241,8 +2241,6 @@ public class Fields {
public static final int trigger_type_e_UNUSED_21 = 21;
public static final int trigger_type_e_UNUSED_34 = 34;
public static final int trigger_type_offset = 468;
public static final int trigger_wheel_e_T_PRIMARY = 0;
public static final int trigger_wheel_e_T_SECONDARY = 1;
public static final int triggerCompCenterVolt_offset = 2536;
public static final int triggerCompHystMax_offset = 2538;
public static final int triggerCompHystMin_offset = 2537;
@ -2297,6 +2295,8 @@ public class Fields {
public static final int triggerSimulatorPins1_offset = 748;
public static final int triggerSimulatorPins2_offset = 750;
public static final int triggerSimulatorPins3_offset = 752;
public static final int TriggerWheel_T_PRIMARY = 0;
public static final int TriggerWheel_T_SECONDARY = 1;
public static final int TRIM_SIZE = 4;
public static final int TS_BLOCK_READ_TIMEOUT = 3000;
public static final char TS_BURN_COMMAND = 'B';