diff --git a/firmware/controllers/algo/launch_control.cpp b/firmware/controllers/algo/launch_control.cpp index 96c8ceb754..0e8c837e88 100644 --- a/firmware/controllers/algo/launch_control.cpp +++ b/firmware/controllers/algo/launch_control.cpp @@ -118,7 +118,7 @@ void LaunchControlBase::update() { const int rpm = Sensor::getOrZero(SensorType::Rpm); const LaunchCondition launchCondition = calculateLaunchCondition(rpm); - isLaunchCondition = combinedConditions = (launchCondition == LaunchCondition::Launch); + isLaunchCondition = (launchCondition == LaunchCondition::Launch); isPreLaunchCondition = (launchCondition == LaunchCondition::PreLaunch); //and still recalculate in case user changed the values diff --git a/firmware/controllers/algo/launch_control_state.txt b/firmware/controllers/algo/launch_control_state.txt index a80079bb6d..e30d5ece5b 100644 --- a/firmware/controllers/algo/launch_control_state.txt +++ b/firmware/controllers/algo/launch_control_state.txt @@ -2,7 +2,6 @@ struct_no_prefix launch_control_state_s int retardThresholdRpm -bit combinedConditions bit launchActivatePinState bit isPreLaunchCondition bit isLaunchCondition