From 0e2907328b7a291b0bdb26b2b622bc0c0bf6f09c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 20 Jul 2022 18:16:54 -0400 Subject: [PATCH] code formatting #4348 --- firmware/controllers/algo/launch_control.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/algo/launch_control.cpp b/firmware/controllers/algo/launch_control.cpp index 1841b8dc31..c47e799299 100644 --- a/firmware/controllers/algo/launch_control.cpp +++ b/firmware/controllers/algo/launch_control.cpp @@ -102,8 +102,9 @@ void LaunchControlBase::update() { combinedConditions = isLaunchConditionMet(rpm); //and still recalculate in case user changed the values - retardThresholdRpm = engineConfiguration->launchRpm + (engineConfiguration->enableLaunchRetard ? - engineConfiguration->launchAdvanceRpmRange : 0) + engineConfiguration->hardCutRpmRange; + retardThresholdRpm = engineConfiguration->launchRpm + + (engineConfiguration->enableLaunchRetard ? engineConfiguration->launchAdvanceRpmRange : 0) + + engineConfiguration->hardCutRpmRange; if (!combinedConditions) { // conditions not met, reset timer