Prevent potential fuel pump oscillation during tooth timeout period
This commit is contained in:
parent
9474f659b0
commit
378200c2a7
|
@ -144,8 +144,11 @@ void loop(void)
|
||||||
currentStatus.longRPM = getRPM(); //Long RPM is included here
|
currentStatus.longRPM = getRPM(); //Long RPM is included here
|
||||||
currentStatus.RPM = currentStatus.longRPM;
|
currentStatus.RPM = currentStatus.longRPM;
|
||||||
currentStatus.RPMdiv100 = div100(currentStatus.RPM);
|
currentStatus.RPMdiv100 = div100(currentStatus.RPM);
|
||||||
|
if(currentStatus.RPM > 0)
|
||||||
|
{
|
||||||
FUEL_PUMP_ON();
|
FUEL_PUMP_ON();
|
||||||
currentStatus.fuelPumpOn = true; //Not sure if this is needed.
|
currentStatus.fuelPumpOn = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue