auto-sync

This commit is contained in:
rusEfi 2015-09-19 20:01:38 -04:00
parent 5366c18aef
commit 8c853eba87
1 changed files with 15 additions and 0 deletions

View File

@ -8,5 +8,20 @@
#include "trigger_nissan.h"
void initializeNissan(TriggerShape *s) {
s->reset(FOUR_STROKE_CAM_SENSOR, false);
s->isSynchronizationNeeded = false;
float w = 5;
float base = 180;
base += 180;
// todo
base += 180;
// todo
base += 180;
s->addEvent(base - w, T_PRIMARY, TV_HIGH);
s->addEvent(base, T_PRIMARY, TV_LOW);
}