From 44bd088c0d9626974e82f78271713bd1062f5085 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 7 May 2024 23:04:10 -0400 Subject: [PATCH] Tables have wrong units on Y-Axis #6479 only:uaefi --- firmware/integration/rusefi_config.txt | 2 +- firmware/tunerstudio/tunerstudio.template.ini | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 5b914bb8e2..a7f0f77f0a 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1804,7 +1804,7 @@ uint16_t[IGN_LOAD_COUNT] ignitionLoadBins;;"Load", 1, 0, 0, 1000, 0 uint16_t[IGN_RPM_COUNT] ignitionRpmBins;;"RPM", 1, 0, 0, 18000, 0 uint16_t[FUEL_LOAD_COUNT x FUEL_RPM_COUNT] autoscale veTable;;"%", 0.1, 0, 0, 999, 1 -uint16_t[FUEL_LOAD_COUNT] veLoadBins;;"kPa", 1, 0, 0, 1000, 0 +uint16_t[FUEL_LOAD_COUNT] veLoadBins;;{bitStringValue(fuelUnits, fuelAlgorithm) }, 1, 0, 0, 1000, 0 uint16_t[FUEL_RPM_COUNT] veRpmBins;;"RPM", 1, 0, 0, 18000, 0 #if LAMBDA diff --git a/firmware/tunerstudio/tunerstudio.template.ini b/firmware/tunerstudio/tunerstudio.template.ini index ddd437f97d..1a0cbc7aab 100644 --- a/firmware/tunerstudio/tunerstudio.template.ini +++ b/firmware/tunerstudio/tunerstudio.template.ini @@ -214,6 +214,8 @@ enable2ndByteCanID = false wbo0_hasFault = { enableAemXSeries && (faultCode0 >= 3) } [PcVariables] + fuelUnits = bits, U08, [0:2], "kPa", "MAF", "%TPS", "Lua" + tuneCrcPcVariable = continuousChannelValue, tuneCrc16 wueAfrTargetOffset = array, S16, [ 16], ":1", 0.1, 0.0, -3.0, 3.0, 1;