my take on useRunningMathForCranking
This commit is contained in:
parent
b84971cc6a
commit
ec5ec558c2
|
@ -52,7 +52,12 @@ DISPLAY_TEXT(eol);
|
|||
DISPLAY(DISPLAY_IF(isCrankingState)) floatms_t getCrankingFuel3(float coolantTemperature,
|
||||
uint32_t revolutionCounterSinceStart DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||
// these magic constants are in Celsius
|
||||
float baseCrankingFuel = engineConfiguration->cranking.baseFuel;
|
||||
float baseCrankingFuel;
|
||||
if (engineConfiguration->useRunningMathForCranking) {
|
||||
baseCrankingFuel = engine->engineState.running.baseFuel;
|
||||
} else {
|
||||
baseCrankingFuel = engineConfiguration->cranking.baseFuel;
|
||||
}
|
||||
/**
|
||||
* Cranking fuel changes over time
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue