auto-sync

This commit is contained in:
rusEfi 2015-02-10 12:07:06 -06:00
parent f21821d1fd
commit 3a74eb1c13
1 changed files with 1 additions and 2 deletions

View File

@ -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) {