simulator usability
This commit is contained in:
parent
70c36252b8
commit
db7895a382
|
@ -185,7 +185,9 @@ float getIntakeAirTemperature(DECLARE_ENGINE_PARAMETER_F) {
|
|||
float temperature = getTemperatureC(&engineConfiguration->iat, &engine->engineState.iatCurve);
|
||||
if (!isValidIntakeAirTemperature(temperature)) {
|
||||
efiAssert(engineConfiguration!=NULL, "NULL engineConfiguration", NAN);
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
warning(OBD_Intake_Air_Temperature_Circuit_Malfunction, "unrealistic IAT %f", temperature);
|
||||
#endif /* EFI_PROD_CODE */
|
||||
return LIMPING_MODE_IAT_TEMPERATURE;
|
||||
}
|
||||
return temperature;
|
||||
|
|
Loading…
Reference in New Issue