Tentatively working lambda option

This commit is contained in:
Josh Stewart 2017-05-27 22:16:42 +10:00
parent 98c3a51ec2
commit 3dd5ab7370
1 changed files with 10 additions and 4 deletions

View File

@ -27,6 +27,7 @@
;settingOption = BOOSTPSI, "PSI"
settingGroup = enablehardware_test, "Enable Hardware Test Page"
[PcVariables]
; valid types: boolean, double, int, list
;
@ -342,7 +343,12 @@ page = 4
;Start AFR page
;--------------------------------------------------
page = 5
#if LAMBDA
afrTable = array, U08, 0,[16x16], "Lambda", { 0.1 / stoich }, 0.0000, 0.00, 2.00, 3
#else
afrTable = array, U08, 0,[16x16], "AFR", 0.1, 0.0, 7, 25.5, 1
#endif
rpmBinsAFR = array, U08, 256,[ 16], "RPM", 100.0, 0.0, 100, 25500, 0
#if SPEED_DENSITY
mapBinsAFR = array, U08, 272,[ 16], "kPa", 2.0, 0.0, 0.0, 511.0, 0
@ -728,10 +734,10 @@ page = 10
defaultValue = boostMinDuty,0
defaultValue = boostMaxDuty,100
defaultValue = sparkDur, 1.0
defaultValue = speeduino_tsCanId, 0
defaultValue = true_address, 0
defaultValue = realtime_base_address, 0
defaultValue = obd_address, 0
defaultValue = speeduino_tsCanId, 0
defaultValue = true_address, 0
defaultValue = realtime_base_address, 0
defaultValue = obd_address, 0
;Default pins
defaultValue = fanPin, 0