helping launch enter simulator

This commit is contained in:
rusefillc 2021-11-16 16:31:35 -05:00
parent a61043e570
commit 678a756275
1 changed files with 2 additions and 0 deletions

View File

@ -22,10 +22,12 @@
bool LaunchControlBase::isInsideSwitchCondition() {
switch (CONFIG(launchActivationMode)) {
case SWITCH_INPUT_LAUNCH:
#if EFI_PROD_CODE
if (isBrainPinValid(CONFIG(launchActivatePin))) {
//todo: we should take into consideration if this sw is pulled high or low!
launchActivatePinState = efiReadPin(CONFIG(launchActivatePin));
}
#endif // EFI_PROD_CODE
return launchActivatePinState;
case CLUTCH_INPUT_LAUNCH: