Line | Branch | Decision | Exec | Source |
---|---|---|---|---|
1 | #include "pch.h" | |||
2 | ||||
3 | #include "trigger_mercedes.h" | |||
4 | #include "trigger_structure.h" | |||
5 | ||||
6 | 1 | void setMercedesTwoSegment(TriggerWaveform* s) { | ||
7 | 1 | s->initialize(FOUR_STROKE_CRANK_SENSOR, SyncEdge::Rise); | ||
8 | ||||
9 | 1 | s->addToothRiseFall(180); | ||
10 | ||||
11 | 1 | s->addToothRiseFall(227); | ||
12 | ||||
13 | 1 | s->addToothRiseFall(360); | ||
14 | ||||
15 | 1 | s->setTriggerSynchronizationGap(1.35); | ||
16 | 1 | s->setSecondTriggerSynchronizationGap(2.84); | ||
17 | 1 | s->setThirdTriggerSynchronizationGap(0.26); | ||
18 | 1 | } | ||
19 |