mirror of https://github.com/rusefi/rusefi-1.git
code formatting #4348
This commit is contained in:
parent
7caef0ba92
commit
0e2907328b
|
@ -102,8 +102,9 @@ void LaunchControlBase::update() {
|
||||||
combinedConditions = isLaunchConditionMet(rpm);
|
combinedConditions = isLaunchConditionMet(rpm);
|
||||||
|
|
||||||
//and still recalculate in case user changed the values
|
//and still recalculate in case user changed the values
|
||||||
retardThresholdRpm = engineConfiguration->launchRpm + (engineConfiguration->enableLaunchRetard ?
|
retardThresholdRpm = engineConfiguration->launchRpm
|
||||||
engineConfiguration->launchAdvanceRpmRange : 0) + engineConfiguration->hardCutRpmRange;
|
+ (engineConfiguration->enableLaunchRetard ? engineConfiguration->launchAdvanceRpmRange : 0)
|
||||||
|
+ engineConfiguration->hardCutRpmRange;
|
||||||
|
|
||||||
if (!combinedConditions) {
|
if (!combinedConditions) {
|
||||||
// conditions not met, reset timer
|
// conditions not met, reset timer
|
||||||
|
|
Loading…
Reference in New Issue