Fix ASE being simultaneously on with crank enrichment (#365)
This commit is contained in:
parent
ccad3d258f
commit
04631d3143
|
@ -214,7 +214,7 @@ byte correctionASE()
|
|||
}
|
||||
else
|
||||
{
|
||||
if ( (runSecsX10 - aseTsnStart) < configPage2.aseTsnDelay )
|
||||
if (( (runSecsX10 - aseTsnStart) < configPage2.aseTsnDelay ) && (!BIT_CHECK(currentStatus.engine, BIT_ENGINE_CRANK)) ) //Cranking check needs to be here also, so cranking and afterstart enrichments won't run simultaneously
|
||||
{
|
||||
BIT_SET(currentStatus.engine, BIT_ENGINE_ASE); //Mark ASE as active.
|
||||
ASEValue = 100 + map((runSecsX10 - aseTsnStart), 0, configPage2.aseTsnDelay,\
|
||||
|
|
Loading…
Reference in New Issue