8 int totalTeethCount = 60;
10 float engineCycle = FOUR_STROKE_ENGINE_CYCLE;
11 float toothWidth = 0.5;
13 float oneTooth = engineCycle / totalTeethCount;
22 criticalAssertVoid(s->
wave.
phaseCount == (totalTeethCount - skipped) * 2 - 1,
"Tooth count 60-3");
25 float specialPosition = 58 * oneTooth;
30 specialPosition - 1, specialPosition - 1 + oneTooth);
33 criticalAssertVoid(s->
wave.
phaseCount == (totalTeethCount - skipped) * 2 + 1,
"Tooth count 60-2-2");
void addSkippedToothTriggerEvents(TriggerWheel wheel, TriggerWaveform *s, int totalTeethCount, int skippedCount, float toothWidthPercentage, float offset, float engineCycle, float filterLeft, float filterRight)