Output pin init/deinit needs a linked list #1803
This commit is contained in:
parent
0b628cea75
commit
97982cc22f
|
@ -85,8 +85,7 @@ void RegisteredOutputPin::unregister() {
|
|||
EnginePins::EnginePins() :
|
||||
mainRelay("mainRelay", CONFIG_OFFSET(mainRelayPin), CONFIG_OFFSET(mainRelayPinMode)),
|
||||
starterControl("starterControl", CONFIG_PIN_OFFSETS(starterControl)),
|
||||
// todo: rename starterRelayDisableMode to starterRelayDisablePinMode
|
||||
starterRelayDisable("starterRelayDisable", starterRelayDisablePin_offset, starterRelayDisableMode_offset),
|
||||
starterRelayDisable("starterRelayDisable", CONFIG_PIN_OFFSETS(starterRelayDisable)),
|
||||
fanRelay("fanRelay", CONFIG_PIN_OFFSETS(fan)),
|
||||
acRelay("acRelay", CONFIG_PIN_OFFSETS(acRelay)),
|
||||
fuelPumpRelay("fuelPump", CONFIG_PIN_OFFSETS(fuelPump)),
|
||||
|
|
|
@ -736,7 +736,10 @@ pin_input_mode_e throttlePedalUpPinMode;
|
|||
uint16_t idlePositionMin;Voltage when the idle valve is closed.\nYou probably don't have one of these!;"mv", 1, 0, 0, 5000, 0
|
||||
uint16_t idlePositionMax;Voltage when the idle valve is open.\nYou probably don't have one of these!;"mv", 1, 0, 0, 5000, 0
|
||||
|
||||
int unusedAt724;;"units", 1, 0, -20, 100, 0
|
||||
pin_output_mode_e sdCardCsPinMode;
|
||||
pin_output_mode_e LIS302DLCsPinMode;
|
||||
|
||||
uint32_t unusedAt724[2];;"units", 1, 0, -20, 100, 0
|
||||
|
||||
uint32_t tunerStudioSerialSpeed;Secondary TTL channel baud rate;"BPs", 1, 0, 0,1000000, 0
|
||||
|
||||
|
@ -810,7 +813,7 @@ custom uart_device_e 1 bits,U32, @OFFSET@, [0:1], "Off", "UART1", "UART2", "UA
|
|||
adc_channel_e idlePositionSensor;
|
||||
brain_pin_e debugMapAveraging;
|
||||
output_pin_e starterRelayDisablePin;
|
||||
pin_output_mode_e starterRelayDisableMode;On some vehicles we can disable starter once engine is already running
|
||||
pin_output_mode_e starterRelayDisablePinMode;On some vehicles we can disable starter once engine is already running
|
||||
brain_pin_e secondSolenoidPin;Some Subaru and some Mazda use double-solenoid idle air valve
|
||||
switch_input_pin_e startStopButtonPin;See also starterControlPin
|
||||
|
||||
|
|
|
@ -2434,7 +2434,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
|||
|
||||
dialog = starterRelay, "Starter relay output"
|
||||
field = "Pin", starterRelayDisablePin
|
||||
field = "Pin mode", starterRelayDisableMode
|
||||
field = "Pin mode", starterRelayDisablePinMode
|
||||
|
||||
dialog = statusLeds, "Status LEDs"
|
||||
field = "Running status LED", runningLedPin
|
||||
|
|
Loading…
Reference in New Issue