From aa4005aa601246883d313a2cc40621135979076c Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 29 Feb 2024 23:11:25 -0500 Subject: [PATCH] only: isLaunchPreCondition --- firmware/controllers/algo/launch_control.cpp | 1 + firmware/controllers/algo/launch_control_state.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/firmware/controllers/algo/launch_control.cpp b/firmware/controllers/algo/launch_control.cpp index 24a27e4c4f..4a640ace63 100644 --- a/firmware/controllers/algo/launch_control.cpp +++ b/firmware/controllers/algo/launch_control.cpp @@ -92,6 +92,7 @@ bool LaunchControlBase::isLaunchConditionMet(int rpm) { LaunchControlBase::LaunchControlBase() { launchActivatePinState = false; + isLaunchPreCondition = false; isLaunchCondition = false; } diff --git a/firmware/controllers/algo/launch_control_state.txt b/firmware/controllers/algo/launch_control_state.txt index c6d666ddc0..6c9f84e3e2 100644 --- a/firmware/controllers/algo/launch_control_state.txt +++ b/firmware/controllers/algo/launch_control_state.txt @@ -4,6 +4,7 @@ int retardThresholdRpm bit combinedConditions bit launchActivatePinState +bit isLaunchPreCondition bit isLaunchCondition bit isSwitchActivated bit isClutchActivated