auto-sync
This commit is contained in:
parent
5195252b37
commit
8ea652440c
|
@ -39,10 +39,16 @@ TriggerShape::TriggerShape() :
|
||||||
useRiseEdge = false;
|
useRiseEdge = false;
|
||||||
gapBothDirections = false;
|
gapBothDirections = false;
|
||||||
isSynchronizationNeeded = false;
|
isSynchronizationNeeded = false;
|
||||||
|
// todo: reuse 'clear' method?
|
||||||
invertOnAdd = false;
|
invertOnAdd = false;
|
||||||
tdcPosition = 0;
|
tdcPosition = 0;
|
||||||
skippedToothCount = totalToothCount = 0;
|
skippedToothCount = totalToothCount = 0;
|
||||||
syncRatioFrom = syncRatioTo = 0;
|
syncRatioFrom = syncRatioTo = 0;
|
||||||
|
memset(frontOnlyIndexes, 0, sizeof(frontOnlyIndexes));
|
||||||
|
memset(isFrontEvent, 0, sizeof(isFrontEvent));
|
||||||
|
memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int TriggerShape::getSize() const {
|
int TriggerShape::getSize() const {
|
||||||
|
|
Loading…
Reference in New Issue