Prevent potential fuel pump oscillation during tooth timeout period

This commit is contained in:
Josh Stewart 2024-04-01 16:09:41 +11:00
parent 9474f659b0
commit 378200c2a7
1 changed files with 5 additions and 2 deletions

View File

@ -144,8 +144,11 @@ void loop(void)
currentStatus.longRPM = getRPM(); //Long RPM is included here
currentStatus.RPM = currentStatus.longRPM;
currentStatus.RPMdiv100 = div100(currentStatus.RPM);
FUEL_PUMP_ON();
currentStatus.fuelPumpOn = true; //Not sure if this is needed.
if(currentStatus.RPM > 0)
{
FUEL_PUMP_ON();
currentStatus.fuelPumpOn = true;
}
}
else
{