This commit is contained in:
parent
1c36f36b1f
commit
427c53df8c
@ -454,6 +454,8 @@ void GpsHyperionLinuxController::handleFixChangedEvent(uint8_t newFix) {
|
|||||||
if (gainedNewFix.hasTimedOut()) {
|
if (gainedNewFix.hasTimedOut()) {
|
||||||
triggerEvent(GpsHyperion::GPS_FIX_CHANGE, newFix, fixChangeCounter);
|
triggerEvent(GpsHyperion::GPS_FIX_CHANGE, newFix, fixChangeCounter);
|
||||||
fixChangeCounter = 0;
|
fixChangeCounter = 0;
|
||||||
|
gainedNewFix.resetTimer();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
fixChangeCounter++;
|
fixChangeCounter++;
|
||||||
gainedNewFix.resetTimer();
|
gainedNewFix.resetTimer();
|
||||||
|
Loading…
Reference in New Issue
Block a user