auto-sync

This commit is contained in:
rusEfi 2016-08-19 22:02:21 -04:00
parent 0f5d7fcbd3
commit 0cb8b3e875
1 changed files with 1 additions and 4 deletions

View File

@ -38,10 +38,6 @@ TriggerShape::TriggerShape() :
initialize(OM_NONE, false);
wave.waves = h.waves;
useOnlyPrimaryForSync = false;
isSynchronizationNeeded = false;
// todo: reuse 'clear' method?
invertOnAdd = false;
// skippedToothCount = totalToothCount = 0;
syncRatioFrom = syncRatioTo = 0;
memset(frontOnlyIndexes, 0, sizeof(frontOnlyIndexes));
@ -116,6 +112,7 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri
tdcPosition = 0;
useOnlyPrimaryForSync = false;
useRiseEdge = true;
invertOnAdd = false;