mirror of https://github.com/rusefi/speeduino.git
Merge pull request #63 from ConnerMcLaughlin/master
Global injector close angle
This commit is contained in:
commit
3e24f60a95
|
@ -243,7 +243,8 @@ struct config1 {
|
|||
byte injTiming : 1;
|
||||
byte multiplyMAP : 1;
|
||||
byte includeAFR : 1;
|
||||
byte unused26 : 5;
|
||||
byte unused26 : 4;
|
||||
byte indInjAng : 1;
|
||||
byte injOpen; //Injector opening time (ms * 10)
|
||||
unsigned int inj1Ang;
|
||||
unsigned int inj2Ang;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;-------------------------------------------------------------------------------
|
||||
;-------------------------------------------------------------------------------
|
||||
#unset CAN_COMMANDS
|
||||
|
||||
[MegaTune]
|
||||
|
@ -168,7 +168,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
|
||||
|
@ -544,6 +544,7 @@ page = 9
|
|||
defaultValue = pinLayout, 1
|
||||
defaultValue = TrigPattern, 0
|
||||
defaultValue = sparkMode, 0
|
||||
defaultValue = indInjAng, 0
|
||||
defaultValue = inj1Ang, 355
|
||||
defaultValue = inj2Ang, 355
|
||||
defaultValue = inj3Ang, 355
|
||||
|
@ -892,10 +893,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
|
||||
|
||||
|
|
2889
speeduino.ino
2889
speeduino.ino
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue