diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 537560868b..6e9f796856 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -250,6 +250,7 @@ struct_no_prefix engine_configuration_s #define TPS_TPS_ACCEL_TABLE 8 #define ADC_CHANNEL_NONE 0 +#define TPS_TPS_ACCEL_CLT_CORR_TABLE 4 #define BARO_CORR_SIZE 4 @@ -1452,7 +1453,9 @@ tChargeMode_e tChargeMode; uint16_t autoscale fordInjectorSmallPulseBreakPoint;;"mg", 0.001, 0, 0, 65, 3 - int8_t[5] unused4080;;"", 1, 0, 0, 0, 0 + uint8_t[TPS_TPS_ACCEL_CLT_CORR_TABLE] autoscale tpsTspCorrValues;;"multiplier", 0.02, 0, 0, 5, 2 + + int8_t unused4080;;"", 1, 0, 0, 0, 0 ! Someday there will be a 6th option for BMW S55 that uses a separate shaft just for HPFP #define hpfp_cam_e_enum "NONE", "Intake 1", "Exhaust 1", "Intake 2", "Exhaust 2" @@ -1540,7 +1543,8 @@ uint16_t[HIGH_SPEED_COUNT] highSpeedOffsets;;"", 1.0000, 0.00000,0.00,65535, 0, float etbDutyShutdownThreshold Gpio[LUA_DIGITAL_INPUT_COUNT iterate] luaDigitalInputPins; -uint8_t[140] mainUnusedEnd;;"units", 1, 0, 0, 1, 0 +uint8_t[TPS_TPS_ACCEL_CLT_CORR_TABLE] autoscale tpsTspCorrValuesBins;;"RPM", 50, 0, 0, 17500, 0 +uint8_t[136] mainUnusedEnd;;"units", 1, 0, 0, 1, 0 ! end of engine_configuration_s end_struct diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 23a8875e8d..51caf0512a 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -416,6 +416,14 @@ enable2ndByteCanID = false yBins = dwellVoltageCorrValues gauge = VBattGauge + curve = tpsTspRpmCorrection, "Transient RPM correction" + columnLabel = "RPM", "Multiplier" + xAxis = 6, 16, 11 + yAxis = 0, 3, 7 + xBins = tpsTspCorrValuesBins, RPMValue + yBins = tpsTspCorrValues + gauge = RPMGauge + curve = primingPulse, "Priming pulse fuel mass" columnLabel = "Coolant", "Prime Pulse" xAxis = -40, 120, 9 @@ -1622,6 +1630,7 @@ menuDialog = main # Accel enrichment subMenu = AccelEnrich, "Acceleration enrichment", 0, {isInjectionEnabled == 1} subMenu = tpsTpsAccelTbl, "TPS/TPS acceleration extra fuel", 0, {isInjectionEnabled == 1} + subMenu = tpsTspRpmCorrection, "TPS/TPS extra fuelRPM correction", 0, {isInjectionEnabled == 1} groupMenu = "Wall wetting AE" groupChildMenu = wwTauCurves, "Evap time", 0, { complexWallModel != 0 }