auto-sync
This commit is contained in:
parent
0cb8b3e875
commit
368153c471
|
@ -40,8 +40,6 @@ TriggerShape::TriggerShape() :
|
||||||
|
|
||||||
// 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));
|
memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle));
|
||||||
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
#if EFI_UNIT_TEST || defined(__DOXYGEN__)
|
||||||
memset(&triggerSignals, 0, sizeof(triggerSignals));
|
memset(&triggerSignals, 0, sizeof(triggerSignals));
|
||||||
|
@ -126,6 +124,8 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri
|
||||||
memset(expectedEventCount, 0, sizeof(expectedEventCount));
|
memset(expectedEventCount, 0, sizeof(expectedEventCount));
|
||||||
wave.reset();
|
wave.reset();
|
||||||
previousAngle = 0;
|
previousAngle = 0;
|
||||||
|
memset(frontOnlyIndexes, 0, sizeof(frontOnlyIndexes));
|
||||||
|
memset(isFrontEvent, 0, sizeof(isFrontEvent));
|
||||||
}
|
}
|
||||||
|
|
||||||
int multi_wave_s::getChannelState(int channelIndex, int phaseIndex) const {
|
int multi_wave_s::getChannelState(int channelIndex, int phaseIndex) const {
|
||||||
|
|
Loading…
Reference in New Issue