simulator: dirty fix

This commit is contained in:
Andrey Gusakov 2025-02-11 16:26:55 +03:00 committed by rusefillc
parent 0dff8cc008
commit ecdf8b83b8
1 changed files with 4 additions and 0 deletions

View File

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