better state validation
This commit is contained in:
parent
8900ebca93
commit
8bbd3fcc62
|
@ -132,8 +132,9 @@ bool FuelSchedule::addFuelEventsForCylinder(int i DECLARE_ENGINE_PARAMETER_SUFF
|
|||
// injection offset map not ready - we are not ready to schedule fuel events
|
||||
return false;
|
||||
}
|
||||
angle_t baseAngle = injectionOffset - injectionDuration;
|
||||
const angle_t baseAngle = injectionOffset - injectionDuration;
|
||||
efiAssert(!cisnan(baseAngle), "NaN baseAngle", false);
|
||||
assertAngleRange(baseAngle, "baseAngle_r");
|
||||
|
||||
int index;
|
||||
|
||||
|
|
Loading…
Reference in New Issue