probably fix ci (#1912)
This commit is contained in:
parent
d5c929f5ba
commit
5e06db6b75
|
@ -203,6 +203,11 @@ static float getBaseFuelMass(int rpm DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
baseFuelMass *= CONFIG(globalFuelCorrection);
|
||||
engine->engineState.baseFuel = baseFuelMass;
|
||||
|
||||
if (cisnan(baseFuelMass)) {
|
||||
// todo: we should not have this here but https://github.com/rusefi/rusefi/issues/1690
|
||||
return 0;
|
||||
}
|
||||
|
||||
return baseFuelMass;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue