auto-sync

This commit is contained in:
rusEfi 2015-04-13 21:10:01 -04:00
parent 5195252b37
commit 8ea652440c
1 changed files with 6 additions and 0 deletions

View File

@ -39,10 +39,16 @@ TriggerShape::TriggerShape() :
useRiseEdge = false;
gapBothDirections = false;
isSynchronizationNeeded = false;
// todo: reuse 'clear' method?
invertOnAdd = false;
tdcPosition = 0;
skippedToothCount = totalToothCount = 0;
syncRatioFrom = syncRatioTo = 0;
memset(frontOnlyIndexes, 0, sizeof(frontOnlyIndexes));
memset(isFrontEvent, 0, sizeof(isFrontEvent));
memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
}
int TriggerShape::getSize() const {