Proteus is compiled without VSS feature #2122
This commit is contained in:
parent
a254c79d93
commit
6032d0a26f
|
@ -28,6 +28,8 @@ DDEFS += -DFIRMWARE_ID=\"proteus\" -DDEFAULT_ENGINE_TYPE=PROTEUS_DEFAULTS
|
|||
DDEFS += -DEFI_INCLUDE_ENGINE_PRESETS=FALSE
|
||||
DDEFS += -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE
|
||||
DDEFS += -DEFI_LOGIC_ANALYZER=FALSE
|
||||
# todo: refactor HAL_VSS_USE_PAL
|
||||
DDEFS += -DHAL_VSS_USE_PAL=TRUE
|
||||
DDEFS += -DSTM32_ADC_USE_ADC3=TRUE
|
||||
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE
|
||||
DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=GPIO_UNASSIGNED -DEFI_CONSOLE_RX_BRAIN_PIN=GPIO_UNASSIGNED
|
||||
|
|
|
@ -90,6 +90,7 @@ void startVSSPins(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
// todo: refactor https://github.com/rusefi/rusefi/issues/2123
|
||||
#if HAL_VSS_USE_PAL
|
||||
ioline_t pal_line = PAL_LINE(getHwPort("vss", CONFIG(vehicleSpeedSensorInputPin)), getHwPin("vss", CONFIG(vehicleSpeedSensorInputPin)));
|
||||
efiExtiEnablePin("VSS", CONFIG(vehicleSpeedSensorInputPin), PAL_EVENT_MODE_BOTH_EDGES, vsExtiCallback, (void *)pal_line);
|
||||
|
|
Loading…
Reference in New Issue