Fix for spark miss every ~250 revs
This commit is contained in:
parent
037c84039f
commit
4f7e11c233
|
@ -2462,6 +2462,7 @@ cmdtestspk450dc = "E\x03\x0C"
|
|||
entry = boostDuty, "Boost Duty", int, "%d", { boostEnabled }
|
||||
entry = boostCutOut , "Boost cut", int, "%d"
|
||||
entry = idleLoad, "IAC value", int, "%d"
|
||||
entry = baro, "Baro Pressure",int, "%d"
|
||||
|
||||
#if CAN_COMMANDS
|
||||
entry = canin_gauge0, "CanIn CH0", int, "%d"
|
||||
|
|
|
@ -1112,8 +1112,7 @@ void loop()
|
|||
//Main loop runs within this clause
|
||||
if (currentStatus.hasSync && (currentStatus.RPM > 0))
|
||||
{
|
||||
if(currentStatus.startRevolutions >= configPage2.StgCycles) { ignitionOn = true; fuelOn = true;} //Enable the fuel and ignition, assuming staging revolutions are complete
|
||||
else { ignitionOn = false; fuelOn = false;}
|
||||
if(currentStatus.startRevolutions >= configPage2.StgCycles) { ignitionOn = true; fuelOn = true; } //Enable the fuel and ignition, assuming staging revolutions are complete
|
||||
//If it is, check is we're running or cranking
|
||||
if(currentStatus.RPM > ((unsigned int)configPage2.crankRPM * 100)) //Crank RPM stored in byte as RPM / 100
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue