auto-sync

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

View File

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