GNSS Ctrl Improvements #871

Merged
meggert merged 24 commits from gnss-ctrl-improvements into main 2024-04-10 11:40:24 +02:00
Showing only changes of commit 427c53df8c - Show all commits

View File

@ -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();