This commit is contained in:
rusefi 2017-04-12 16:50:17 -04:00
parent 5e4ac52f56
commit db70dbc966
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ bool FuelSchedule::addFuelEventsForCylinder(int i DECLARE_ENGINE_PARAMETER_S) {
* engineState.injectionOffset is calculated from the same utility timer should we more that logic here?
*/
angle_t injectionDuration = MS2US(ENGINE(fuelMs)) / oneDegreeUs;
const angle_t baseAngle = ENGINE(engineState.injectionOffset) - injectionDuration;
angle_t baseAngle = ENGINE(engineState.injectionOffset) - injectionDuration;
efiAssert(!cisnan(baseAngle), "NaN baseAngle", false);
int index;