From 6ac880739960e5cfd137ddc77b7667e38c74ed4d Mon Sep 17 00:00:00 2001 From: ConnerMcLaughlin Date: Tue, 27 Dec 2016 13:35:46 -0600 Subject: [PATCH] Global injector closing angle TS setting Adding TS setting in "Injector Characteristics" --- reference/speeduino.ini | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/reference/speeduino.ini b/reference/speeduino.ini index c1a0e6b..358cf3d 100644 --- a/reference/speeduino.ini +++ b/reference/speeduino.ini @@ -1,4 +1,4 @@ -;------------------------------------------------------------------------------- +;------------------------------------------------------------------------------- #unset CAN_COMMANDS [MegaTune] @@ -167,7 +167,7 @@ page = 2 unused2-26e= bits, U08, 26, [4:4], "No", "Yes" unused2-26f= bits, U08, 26, [5:5], "No", "Yes" unused2-26g= bits, U08, 26, [6:6], "No", "Yes" - unused2-26h= bits, U08, 26, [7:7], "No", "Yes" + indInjAng = bits, U08, 26, [7:7], "Disabled", "Enabled" injOpen = scalar, U08, 27, "ms", 0.1, 0.0, 0.1, 25.5, 1 inj1Ang = scalar, U16, 28, "deg", 1.0, 0.0, 0.0, 360, 0 inj2Ang = scalar, U16, 30, "deg", 1.0, 0.0, 0.0, 360, 0 @@ -537,6 +537,7 @@ page = 9 defaultValue = pinLayout, 1 defaultValue = TrigPattern, 0 defaultValue = sparkMode, 0 + defaultValue = indInjAng, 0 defaultValue = inj1Ang, 355 defaultValue = inj2Ang, 355 defaultValue = inj3Ang, 355 @@ -880,10 +881,12 @@ menuDialog = main dialog = injChars, "Injector Characteristics" field = "Injector Open Time", injOpen field = "Injector close angle" - field = "Channel 1", inj1Ang - field = "Channel 2", inj2Ang, { nCylinders > 1 } - field = "Channel 3", inj3Ang, { nCylinders > 4 || nCylinders == 3 || ((nCylinders == 4) && (injLayout == 3)) } - field = "Channel 4", inj4Ang, { nCylinders > 6 || ((nCylinders == 4) && (injLayout == 3)) } + field = "", inj1Ang, { indInjAng == 0 } + field = "Individual channel setting", indInjAng + field = "Channel 1", inj1Ang, { indInjAng } + field = "Channel 2", inj2Ang, { nCylinders > 1 && indInjAng } + field = "Channel 3", inj3Ang, { indInjAng && (nCylinders > 4 || nCylinders == 3 || ((nCylinders == 4) && (injLayout == 3))) } + field = "Channel 4", inj4Ang, { indInjAng && (nCylinders > 6 || ((nCylinders == 4) && (injLayout == 3))) } field = "Injector Duty Limit", dutyLim panel = injector_voltage_curve