parent
ca6e49dcbc
commit
9a26b2eca2
|
@ -116,8 +116,8 @@ void EngineState::updateSlowSensors(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engine->engineState.isCrankingState = ENGINE(rpmCalculator).isCranking(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
|
||||
engine->sensors.iat = getIntakeAirTemperature(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
engine->sensors.clt = getCoolantTemperature(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
engine->sensors.iat = getIntakeAirTemperature();
|
||||
engine->sensors.clt = getCoolantTemperature();
|
||||
|
||||
// todo: reduce code duplication with 'getCoolantTemperature'
|
||||
if (engineConfiguration->auxTempSensor1.adcChannel != EFI_ADC_NONE) {
|
||||
|
|
|
@ -397,7 +397,7 @@ float getBaroCorrection(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
* @return Duration of fuel injection while craning
|
||||
*/
|
||||
floatms_t getCrankingFuel(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
return getCrankingFuel3(getCoolantTemperature(PASS_ENGINE_PARAMETER_SIGNATURE),
|
||||
return getCrankingFuel3(getCoolantTemperature(),
|
||||
engine->rpmCalculator.getRevolutionCounterSinceStart() PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue