auto-sync

This commit is contained in:
rusEfi 2015-10-30 19:06:55 -04:00
parent 1c1b1a6437
commit 00594dcbbf
2 changed files with 4 additions and 8 deletions

View File

@ -347,16 +347,12 @@ void addSkippedToothTriggerEvents(trigger_wheel_e wheel, TriggerShape *s, int to
void initializeSkippedToothTriggerShapeExt(TriggerShape *s, int totalTeethCount, int skippedCount,
operation_mode_e operationMode) {
efiAssertVoid(totalTeethCount > 0, "totalTeethCount is zero");
// s->totalToothCount = totalTeethCount;
// s->skippedToothCount = skippedCount;
efiAssertVoid(s != NULL, "TriggerShape is NULL");
s->initialize(operationMode, false);
s->setTriggerSynchronizationGap(skippedCount + 1);
s->isSynchronizationNeeded = (skippedCount != 0);
efiAssertVoid(s != NULL, "TriggerShape is NULL");
s->initialize(operationMode, false);
addSkippedToothTriggerEvents(T_PRIMARY, s, totalTeethCount, skippedCount, 0.5, 0, getEngineCycle(operationMode),
NO_LEFT_FILTER, NO_RIGHT_FILTER);
}

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header
// Mon Oct 26 18:50:16 EDT 2015
// Fri Oct 30 18:55:19 EDT 2015
#ifndef VCS_VERSION
#define VCS_VERSION "8942"
#define VCS_VERSION "8948"
#endif