auto-sync
This commit is contained in:
parent
5366c18aef
commit
8c853eba87
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue