better error check
This commit is contained in:
parent
2b404b8ab1
commit
8966b3b630
|
@ -108,7 +108,7 @@ angle_t getinjectionOffset(float rpm DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
|||
}
|
||||
angle_t value = fuelPhaseMap.getValue(rpm, engineLoad);
|
||||
if (cisnan(value)) {
|
||||
firmwareError(CUSTOM_ERR_ASSERT, "inj offset#1 %f %f", rpm, engineLoad)
|
||||
firmwareError(CUSTOM_ERR_ASSERT, "inj offset#1 %f %f", rpm, engineLoad);
|
||||
return 0;
|
||||
}
|
||||
efiAssert(!cisnan(value), "inj offset#1", 0);
|
||||
|
|
Loading…
Reference in New Issue