Clear cranking and WUE bits when engine speed drops to 0rpm
This commit is contained in:
parent
81c548a9e8
commit
fbde19253f
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
|
@ -922,6 +922,8 @@ void loop()
|
|||
if (fpPrimed) { digitalWrite(pinFuelPump, LOW); } //Turn off the fuel pump, but only if the priming is complete
|
||||
fuelPumpOn = false;
|
||||
disableIdle(); //Turn off the idle PWM
|
||||
BIT_CLEAR(currentStatus.engine, BIT_ENGINE_CRANK); //Clear cranking bit (Can otherwise get stuck 'on' even with 0 rpm)
|
||||
BIT_CLEAR(currentStatus.engine, BIT_ENGINE_WARMUP); //Same as above except for WUE
|
||||
}
|
||||
|
||||
//Uncomment the following for testing
|
||||
|
|
Loading…
Reference in New Issue