dead struct

(cherry picked from commit ed821f9f5c)
This commit is contained in:
Matthew Kennedy 2023-04-01 01:46:05 -04:00 committed by Andrey
parent 353b071441
commit 94d3ce8046
1 changed files with 5 additions and 13 deletions

View File

@ -360,14 +360,7 @@ custom pin_output_mode_e 1 bits, U08, @OFFSET@, [0:1], @@pin_output_mode_e_enum@
#define pin_input_mode_e_enum "DEFAULT", "PULLUP", "PULLDOWN"
custom pin_input_mode_e 1 bits, U08, @OFFSET@, [0:1], @@pin_input_mode_e_enum@@
struct spi_pins
Gpio mosiPin;
Gpio misoPin;
Gpio sckPin;
end_struct
#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM"
#define gppwm_channel_e_enum "Zero", "TPS", "MAP", "CLT", "IAT", "Fuel Load", "Ignition Load", "Aux Temp 1", "Aux Temp 2", "Accel Pedal", "Battery Voltage", "VVT 1 I", "VVT 1 E", "VVT 2 I", "VVT 2 E", "Ethanol (Flex) %", "Aux Linear 1", "Aux Linear 2", "GPPWM Output 1", "GPPWM Output 2", "GPPWM Output 3", "GPPWM Output 4", "Lua Gauge 1", "Lua Gauge 2", "RPM", "Gear (detected)"
custom gppwm_channel_e 1 bits, U08, @OFFSET@, [0:4], @@gppwm_channel_e_enum@@
struct gppwm_channel
@ -632,8 +625,8 @@ struct afr_sensor_s
float value1;;"AFR", 1, 0, 0, 1000, 2
float v2;;"volts", 1, 0, 0, 10, 2
float value2;;"AFR", 1, 0, 0, 1000, 2
end_struct
end_struct
afr_sensor_s afr
adc_channel_e throttlePedalPositionAdcChannel;Electronic throttle pedal position first channel\nSee throttlePedalPositionSecondAdcChannel for second channel\nSee also tps1_1AdcChannel\nset_analog_input_pin pps X\nSee throttlePedalUpVoltage and throttlePedalWOTVoltage
@ -716,7 +709,7 @@ switch_input_pin_e clutchDownPin;Some cars have a switch to indicate that clutch
Gpio cj125CsPin;set_cj125_cs_pin XXX
spi_device_e max31855spiDevice;
Gpio debugTriggerSync;
spi_device_e digitalPotentiometerSpiDevice;Digital Potentiometer is used by stock ECU stimulation code
Gpio mc33972_cs;
pin_output_mode_e mc33972_csPinMode;
@ -779,7 +772,7 @@ bit is_enabled_spi_2
bit isHip9011Enabled
bit isVerboseAlternator
bit verboseQuad
bit useStepperIdle;This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed.
bit useStepperIdle;This setting should only be used if you have a stepper motor idle valve and a stepper motor driver installed.
bit enabledStep1Limiter
bit useTpicAdvancedMode
@ -879,7 +872,6 @@ custom uart_device_e 1 bits, U08, @OFFSET@, [0:1], "Off", "UART1", "UART2", "UAR
custom script_setting_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 18000, 2
script_setting_t[SCRIPT_SETTING_COUNT iterate] scriptSetting;
! todo: migrate to spi_pins & combine with spi pin modes
Gpio spi1mosiPin;
Gpio spi1misoPin;
Gpio spi1sckPin;