code formatting #4348

This commit is contained in:
rusefillc 2022-07-20 18:16:54 -04:00
parent 7caef0ba92
commit 0e2907328b
1 changed files with 3 additions and 2 deletions

View File

@ -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