Record VVT angle when Poll cam method is in use. Fixes #1213

This commit is contained in:
Josh Stewart 2024-05-27 09:34:00 +10:00
parent 84e63d867e
commit bff1beca5d
1 changed files with 9 additions and 3 deletions

View File

@ -638,6 +638,12 @@ void triggerSec_missingTooth(void)
} }
break; break;
case SEC_TRIGGER_POLL:
//Poll is effectively the same as SEC_TRIGGER_SINGLE, however we do not reset revolutionOne or change the filter
//We do still need to record the angle for VVT though
triggerRecordVVT1Angle();
break;
case SEC_TRIGGER_SINGLE: case SEC_TRIGGER_SINGLE:
//Standard single tooth cam trigger //Standard single tooth cam trigger
revolutionOne = 1; //Sequential revolution reset revolutionOne = 1; //Sequential revolution reset