Skip to content

Commit 32eccd1

Browse files
committed
Bump rusefi-core (fuel-consumption gauges); expose L/100km & L/hr gauges
- ext/rusefi -> 0523ac00 adds fuelConsumptionL100kmGauge and fuelConsumptionLitersPerHourGauge under the Fueling gauge category - regenerate mini6ch INI so the L/100km and L/hr gauges show up in the TunerStudio right-click gauge picker (pure UI; output channels already streamed by firmware, signature unchanged)
1 parent 402ffcc commit 32eccd1

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to Mazduino firmware are documented here.
99
- Rotational Idle manual enable switch input (`rotationalIdleController.switchPin`): when switch is ON, rotational idle is forced active regardless of automatic CLT/TPS conditions
1010
- Rotational Idle RPM window (`minRpm`, `maxRpm`): configurable RPM range for rotational idle engagement; 0 = no limit; displayed in live data as `rotIdleEngineTooSlow` / `rotIdleEngineTooFast`
1111
- Fuel consumption output channels: trip-average L/100km and instantaneous L/hr, user-configurable via TunerStudio (Engine > Fuel Consumption); requires VSS, injection enabled, and injector flow set
12+
- Predefined TunerStudio gauges for fuel consumption (`fuelConsumptionL100kmGauge`, `fuelConsumptionLitersPerHourGauge`) under the Fueling category, so L/100km and L/hr are selectable from the right-click gauge picker (rusefi-core `gauge_declarations.ini`)
1213
- `fuelConsumptionEnabled` bit and `fuelDensity` (g/L, default 750 petrol) added to engine configuration; calculation runs in `TripOdometer::onSlowCallback()`
1314
- `OUTCH_FuelConsumptionL100km` and `OUTCH_FuelConsumptionLitersPerHour` added to `output_channel_e` enum for Lua access
1415
- `common.mk`: added `$(PROJECT_DIR)/$(META_OUTPUT_ROOT_FOLDER)controllers/generated` to `ALLINC` so the unit test build finds board-specific generated headers when `META_OUTPUT_ROOT_FOLDER` points outside the firmware tree

‎ext/rusefi‎

‎generated/tunerstudio/generated/rusefi_mazduino-mini6ch.ini‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7290,6 +7290,8 @@ gaugeCategory = Fueling
72907290
fuelingLoadGauge = fuelingLoad, "Fuel: Load", "%", 0, 300, 0, 0, 300, 300, 1, 1
72917291
totalFuelConsumptionGauge = totalFuelConsumption, "Fuel: Total consumed", "g", 0, 10000, 0, 0, 10000, 10000, 0, 0
72927292
fuelFlowRateGauge = fuelFlowRate, "Fuel: Flow rate", "g/s", 0, 50, 0, 0, 50, 50, 2, 0
7293+
fuelConsumptionL100kmGauge = fuelConsumptionL100km, "Fuel: Consumption trip average", "L/100km", 0, 30, 0, 0, 20, 25, 1, 0
7294+
fuelConsumptionLitersPerHourGauge = fuelConsumptionLitersPerHour, "Fuel: Flow rate (instant)", "L/hr", 0, 60, 0, 0, 40, 50, 2, 0
72937295
targetLambdaGauge = targetLambda,"fuel: target lambda", "", 10, 19.4, 12, 13, 15, 16, 2, 2
72947296
currentTargetAfrGauge = targetAFR,"fuel: target AFR", "", 0.65, 1.2, 0.7, 0.75, 1.1, 1.15, 3, 2
72957297
fuelPressureCorrectionReferenceGauge = pressureCorrectionReference, "Fuel: corr reference pressure", "kPa", 0, 1000, 0, 0, 1000, 1000, 0, 0

0 commit comments

Comments
 (0)