From db70dbc9667073fb8c97ce5ded4daf0486fe130c Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 12 Apr 2017 16:50:17 -0400 Subject: [PATCH] bugfix --- firmware/controllers/math/engine_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index e5b9974af1..0eb4086857 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -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;