From 3a74eb1c13d85aa8fb5cd501354809c35827c592 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Tue, 10 Feb 2015 12:07:06 -0600 Subject: [PATCH] auto-sync --- firmware/controllers/algo/fuel_math.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/controllers/algo/fuel_math.cpp b/firmware/controllers/algo/fuel_math.cpp index 219f23fd6f..2f94cd75f8 100644 --- a/firmware/controllers/algo/fuel_math.cpp +++ b/firmware/controllers/algo/fuel_math.cpp @@ -84,8 +84,7 @@ float getFuelMs(int rpm DECLARE_ENGINE_PARAMETER_S) { float fuelPerCycle = getRunningFuel(baseFuel, rpm PASS_ENGINE_PARAMETER); theoreticalInjectionLength = fuelPerCycle / getNumberOfInjections(engineConfiguration, engine->engineConfiguration->injectionMode); } - float injectorLag = getInjectorLag(getVBatt(engineConfiguration) PASS_ENGINE_PARAMETER); - return theoreticalInjectionLength + injectorLag; + return theoreticalInjectionLength + ENGINE(injectorLagMs); } float getRunningFuel(float baseFuelMs, int rpm DECLARE_ENGINE_PARAMETER_S) {