GNSS Ctrl Improvements #871
@ -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