Minor tweaks for better operation of higher sequential fuel counts
This commit is contained in:
parent
e004a81524
commit
d4104ea9f2
|
@ -1604,7 +1604,7 @@ menuDialog = main
|
|||
|
||||
dialog = engine_constants_southwest, "Speeduino Board"
|
||||
field = "Stoichiometric ratio", stoich
|
||||
field = "Injector Layout", injLayout, { nCylinders <= 4 }
|
||||
field = "Injector Layout", injLayout, { nCylinders <= nFuelChannels }
|
||||
field = "Board Layout", pinLayout
|
||||
field = "MAP Sample method", mapSample
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#define FUEL2_COMPARE OCR3B
|
||||
#define FUEL3_COMPARE OCR3C
|
||||
#define FUEL4_COMPARE OCR4B
|
||||
#define FUEL5_COMPARE OCR4C //Shared with FUEL1
|
||||
#define FUEL5_COMPARE OCR4C //Shared with IGN5
|
||||
#define FUEL6_COMPARE OCR4A //Replaces ignition4
|
||||
#define FUEL7_COMPARE OCR5C //Replaces ignition3
|
||||
#define FUEL8_COMPARE OCR5B //Replaces ignition2
|
||||
|
|
|
@ -612,6 +612,8 @@ void initialiseAll()
|
|||
currentStatus.nSquirts = 1;
|
||||
req_fuel_uS = req_fuel_uS * 2;
|
||||
}
|
||||
#else
|
||||
configPage2.injLayout = 0; //This is a failsafe. We can never run semi-sequential with more than 4 cylinders
|
||||
#endif
|
||||
|
||||
if (!configPage2.injTiming)
|
||||
|
@ -622,8 +624,6 @@ void initialiseAll()
|
|||
channel3InjDegrees = 0;
|
||||
}
|
||||
|
||||
configPage2.injLayout = 0; //This is a failsafe. We can never run semi-sequential with more than 4 cylinders
|
||||
|
||||
channel1InjEnabled = true;
|
||||
channel2InjEnabled = true;
|
||||
channel3InjEnabled = true;
|
||||
|
@ -663,6 +663,8 @@ void initialiseAll()
|
|||
currentStatus.nSquirts = 1;
|
||||
req_fuel_uS = req_fuel_uS * 2;
|
||||
}
|
||||
#else
|
||||
configPage2.injLayout = 0; //This is a failsafe. We can never run semi-sequential with more than 4 cylinders
|
||||
#endif
|
||||
|
||||
maxIgnOutputs = 4;
|
||||
|
@ -676,8 +678,6 @@ void initialiseAll()
|
|||
channel4InjDegrees = 0;
|
||||
}
|
||||
|
||||
configPage2.injLayout = 0; //This is a failsafe. We can never run semi-sequential with more than 4 cylinders
|
||||
|
||||
channel1InjEnabled = true;
|
||||
channel2InjEnabled = true;
|
||||
channel3InjEnabled = true;
|
||||
|
|
Loading…
Reference in New Issue