RPM refactoring

This commit is contained in:
rusefi 2017-07-06 11:15:29 -04:00
parent da707a73ee
commit 194735dac4
1 changed files with 1 additions and 1 deletions

View File

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