diff --git a/firmware/controllers/algo/launch_control.cpp b/firmware/controllers/algo/launch_control.cpp index c0a45647d1..6c07d59eb0 100644 --- a/firmware/controllers/algo/launch_control.cpp +++ b/firmware/controllers/algo/launch_control.cpp @@ -28,8 +28,7 @@ bool LaunchControlBase::isInsideSwitchCondition() { if (isSwitchActivated) { #if !EFI_SIMULATOR if (isBrainPinValid(engineConfiguration->launchActivatePin)) { - //todo: we should take into consideration if this sw is pulled high or low! - launchActivatePinState = efiReadPin(engineConfiguration->launchActivatePin); + launchActivatePinState = engineConfiguration->launchActivateInverted ^ efiReadPin(engineConfiguration->launchActivatePin); } #endif // EFI_PROD_CODE return launchActivatePinState;