This commit is contained in:
rusefillc 2021-07-05 18:38:34 -04:00
parent 32a813339d
commit e223ff4d9e
1 changed files with 4 additions and 3 deletions

View File

@ -282,9 +282,10 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index DECL
/**
* NB2 is a symmetrical crank, there are four phases total
*/
while (tc->triggerState.getTotalRevolutionCounter() % 4 != miataNbIndex) {
tc->triggerState.incrementTotalEventCounter();
}
tc->triggerState.syncSymmetricalCrank(4, miataNbIndex);
break;
case VVT_NISSAN_VQ:
// tc->triggerState.syncSymmetricalCrank(6, 0);
break;
default:
case VVT_INACTIVE: