From ecdf8b83b873dbba63b6943342d63712cac40dc8 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Tue, 11 Feb 2025 16:26:55 +0300 Subject: [PATCH] simulator: dirty fix --- .../controllers/algo/shift_torque_reduction_controller.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/controllers/algo/shift_torque_reduction_controller.cpp b/firmware/controllers/algo/shift_torque_reduction_controller.cpp index 01dc270d7f..1dcf41d7c5 100644 --- a/firmware/controllers/algo/shift_torque_reduction_controller.cpp +++ b/firmware/controllers/algo/shift_torque_reduction_controller.cpp @@ -54,7 +54,11 @@ void ShiftTorqueReductionController::updateTriggerPinState() { case TORQUE_REDUCTION_CLUTCH_DOWN_SWITCH: { updateTriggerPinState( engineConfiguration->clutchDownPin, +#if !EFI_SIMULATOR efiIsInputPinInverted(engineConfiguration->clutchDownPinMode), +#else + false, +#endif engine->engineState.lua.clutchDownState ); break;