Fix for spark miss every ~250 revs

This commit is contained in:
Josh Stewart 2017-08-06 17:00:58 +10:00
parent 037c84039f
commit 4f7e11c233
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -1113,7 +1113,6 @@ void loop()
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 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
{