Prevent overdwell protection stopping fixed timing from working as well as it could

This commit is contained in:
Josh Stewart 2016-12-26 20:38:38 +11:00
parent 6f6f3eb216
commit 173f875868
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ unsigned long targetTachoPulseTime;
loopSec = 0; //Reset counter.
dwellLimit_uS = (1000 * configPage2.dwellLimit); //Update uS value incase setting has changed
if ( configPage2.ignCranklock && BIT_CHECK(currentStatus.engine, BIT_ENGINE_CRANK)) { dwellLimit_uS = dwellLimit_uS * 3; } //Make sure the overdwell doesn't clobber the fixed ignition cranking if enabled.
//**************************************************************************************************************************************************
//This updates the runSecs variable