diff --git a/firmware/controllers/algo/engine.h b/firmware/controllers/algo/engine.h index 14e36f3fc3..68508d1485 100644 --- a/firmware/controllers/algo/engine.h +++ b/firmware/controllers/algo/engine.h @@ -176,7 +176,7 @@ public: float cltFuelCorrection; float postCrankingFuelCorrection; /** - * Global injector lag + injectorLag(VBatt) + * injectorLag(VBatt) * * this value depends on a slow-changing VBatt value, so * we update it once in a while diff --git a/firmware/controllers/algo/engine_configuration_generated_structures.h b/firmware/controllers/algo/engine_configuration_generated_structures.h index b06d346e6d..2bb5ac13c0 100644 --- a/firmware/controllers/algo/engine_configuration_generated_structures.h +++ b/firmware/controllers/algo/engine_configuration_generated_structures.h @@ -1,4 +1,4 @@ -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jan 07 12:06:45 EST 2018 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Jan 17 18:44:14 EST 2018 // begin #ifndef ENGINE_CONFIGURATION_GENERATED_H_ #define ENGINE_CONFIGURATION_GENERATED_H_ @@ -1082,6 +1082,7 @@ typedef struct { /** * 'batched' means two injectors are wired together * set injection_mode X + * See also twoWireBatchInjection * offset 428 */ injection_mode_e injectionMode; @@ -2319,4 +2320,4 @@ typedef struct { #endif // end -// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Jan 07 12:06:45 EST 2018 +// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Jan 17 18:44:14 EST 2018 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 1b79855aae..9a36e2bf79 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -238,6 +238,7 @@ fileVersion = { 20171101 } cltCorrection = scalar, F32, 184, "%", 1, 0 fuelRunning = scalar, F32, 188, "g", 1, 0 debugIntField1 = scalar, U32, 192, "val", 1, 0.0; + injectorLagMs = scalar, F32, 196, "ms", 1, 0.0; debugFloatField2 = scalar, F32, 200, "val", 1, 0.0; debugFloatField3 = scalar, F32, 204, "val", 1, 0.0; debugFloatField4 = scalar, F32, 208, "val", 1, 0.0; @@ -710,6 +711,7 @@ gaugeCategory = Fuel Data injectorDutyCycleGauge=injectorDutyCycle, @@GAUGE_NAME_FUEL_INJ_DUTY@@,"%", 0, 120, 10, 10, 100, 100, 1, 1 actualLastInjectionGauge = actualLastInjection, @@GAUGE_NAME_FUEL_LAST_INJECTION@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1 + injectorLagMsGauge = injectorLagMs, @@GAUGE_NAME_INJECTOR_LAG@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1 fuelRunningGauge = fuelRunning, @@GAUGE_NAME_FUEL_RUNNING@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1 baseFuelGauge = baseFuel, @@GAUGE_NAME_FUEL_BASE@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1 fuelPidCorrectionGauge = fuelPidCorrection, @@GAUGE_NAME_FUEL_PID_CORR@@, "mSec", -11, 11, 1.0, 1.2, 20, 25, 3, 1 @@ -815,6 +817,7 @@ gaugeCategory = Fuel Data entry = idleAirValvePosition, @@GAUGE_NAME_IAC@@, float, "%.3f" + entry = injectorLagMs, @@GAUGE_NAME_INJECTOR_LAG, float, "%.3f" entry = fuelRunning, @@GAUGE_NAME_FUEL_RUNNING@@, float, "%.3f" entry = actualLastInjection, @@GAUGE_NAME_FUEL_LAST_INJECTION@@, float, "%.3f" entry = baseFuel, "fuel: base", float, "%.2f"