trigger refactoring: instance RPM #4740
This commit is contained in:
parent
79afd2b6fa
commit
7b10b32958
|
@ -204,8 +204,6 @@ void PrimaryTriggerDecoder::resetState() {
|
|||
|
||||
resetHasFullSync();
|
||||
|
||||
instantRpm.prevInstantRpmValue = 0;
|
||||
instantRpm.m_instantRpm = 0;
|
||||
instantRpm.resetInstantRpm();
|
||||
}
|
||||
|
||||
|
|
|
@ -207,6 +207,8 @@ public:
|
|||
memset(timeOfLastEvent, 0, sizeof(timeOfLastEvent));
|
||||
memset(spinningEvents, 0, sizeof(spinningEvents));
|
||||
spinningEventIndex = 0;
|
||||
prevInstantRpmValue = 0;
|
||||
m_instantRpm = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue