simulator: dirty fix
This commit is contained in:
parent
0dff8cc008
commit
ecdf8b83b8
|
@ -54,7 +54,11 @@ void ShiftTorqueReductionController::updateTriggerPinState() {
|
||||||
case TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH: {
|
case TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH: {
|
||||||
updateTriggerPinState(
|
updateTriggerPinState(
|
||||||
engineConfiguration->clutchDownPin,
|
engineConfiguration->clutchDownPin,
|
||||||
|
#if !EFI_SIMULATOR
|
||||||
efiIsInputPinInverted(engineConfiguration->clutchDownPinMode),
|
efiIsInputPinInverted(engineConfiguration->clutchDownPinMode),
|
||||||
|
#else
|
||||||
|
false,
|
||||||
|
#endif
|
||||||
engine->engineState.lua.clutchDownState
|
engine->engineState.lua.clutchDownState
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue