RPM refactoring
This commit is contained in:
parent
da707a73ee
commit
194735dac4
|
@ -227,7 +227,7 @@ floatms_t getCrankingSparkDwell(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
} else {
|
||||
// technically this could be implemented via interpolate2d
|
||||
float angle = engineConfiguration->crankingChargeAngle;
|
||||
return getOneDegreeTimeMs(rpm) * angle;
|
||||
return getOneDegreeTimeMs(engine->rpmCalculator.rpmValue) * angle;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue