auto-sync

This commit is contained in:
rusEfi 2015-10-30 19:06:55 -04:00
parent 28846b1093
commit 702d2ad135
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, void initializeSkippedToothTriggerShapeExt(TriggerShape *s, int totalTeethCount, int skippedCount,
operation_mode_e operationMode) { operation_mode_e operationMode) {
efiAssertVoid(totalTeethCount > 0, "totalTeethCount is zero"); efiAssertVoid(totalTeethCount > 0, "totalTeethCount is zero");
efiAssertVoid(s != NULL, "TriggerShape is NULL");
// s->totalToothCount = totalTeethCount; s->initialize(operationMode, false);
// s->skippedToothCount = skippedCount;
s->setTriggerSynchronizationGap(skippedCount + 1); s->setTriggerSynchronizationGap(skippedCount + 1);
s->isSynchronizationNeeded = (skippedCount != 0); 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), addSkippedToothTriggerEvents(T_PRIMARY, s, totalTeethCount, skippedCount, 0.5, 0, getEngineCycle(operationMode),
NO_LEFT_FILTER, NO_RIGHT_FILTER); NO_LEFT_FILTER, NO_RIGHT_FILTER);
} }

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header // 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 #ifndef VCS_VERSION
#define VCS_VERSION "8942" #define VCS_VERSION "8948"
#endif #endif