From 6fdb98e84f76a41e384792b3057eab667dd561f8 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 16 Nov 2021 16:45:14 -0500 Subject: [PATCH] helping launch enter simulator --- firmware/controllers/algo/launch_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/algo/launch_control.cpp b/firmware/controllers/algo/launch_control.cpp index 0bfd2eb078..b450247c1c 100644 --- a/firmware/controllers/algo/launch_control.cpp +++ b/firmware/controllers/algo/launch_control.cpp @@ -22,7 +22,7 @@ bool LaunchControlBase::isInsideSwitchCondition() { switch (CONFIG(launchActivationMode)) { case SWITCH_INPUT_LAUNCH: -#if EFI_PROD_CODE +#if !EFI_SIMULATOR if (isBrainPinValid(CONFIG(launchActivatePin))) { //todo: we should take into consideration if this sw is pulled high or low! launchActivatePinState = efiReadPin(CONFIG(launchActivatePin));