Fix spark 2 load axis showing incorrect name

This commit is contained in:
Josh Stewart 2021-04-07 10:55:37 +10:00
parent 2ee28c36ee
commit 9a7ab944d4
1 changed files with 3 additions and 2 deletions

View File

@ -1245,7 +1245,7 @@ page = 13
page = 14
advTable2 = array, U08, 0,[16x16], "deg", 1.0, -40, -40, 215.0, 0
rpmBins3 = array, U08, 256,[ 16], "RPM", 100.0, 0.0, 100, 25500, 0
mapBins2 = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , ignAlgorithm) }, 2.0, 0.0, 0.0, { ign2LoadMax }, 0 ; This name has to be used in order for the table to show up in MLVs table. I can't find the regexs that make this work :(
mapBins2 = array, U08, 272, [ 16], { bitStringValue(algorithmUnits , spark2Algorithm) }, 2.0, 0.0, 0.0, { ign2LoadMax }, 0 ; This name has to be used in order for the table to show up in MLVs table. I can't find the regexs that make this work :(
@ -4267,7 +4267,7 @@ cmdVSSratio6 = "E\x99\x06"
table = spark2Tbl, spark2Map, "Second Ignition Advance Table", 14
xBins = rpmBins3, rpm
;yBins = ignLoadBins, ignLoad
yBins = mapBins2, ignLoad
yBins = mapBins2, ignLoad2
xyLabels = "RPM", "Ignition Load: "
zBins = advTable2
gridHeight = 3.0
@ -4787,6 +4787,7 @@ cmdVSSratio6 = "E\x99\x06"
ign2LoadMax = { (spark2Algorithm == 0 || spark2Algorithm == 2) ? 511 : 100 }
fuelLoad2 = { fuel2Algorithm == 0 ? map : fuel2Algorithm == 1 ? tps : fuel2Algorithm == 2 ? 0 : 0 }
ignLoad2 = { spark2Algorithm == 0 ? map : spark2Algorithm == 1 ? tps : spark2Algorithm == 2 ? 0 : ignLoad }
vvtLoad = { (vvtLoadSource == 0) ? map : tps }
boostTableLimit = { boostType == 0 ? 100 : 511 } ;The maximum value allowed in the boost table. 100 is used for duty cycle, 511 for kpa