Some GPS updates #369

Merged
muellerr merged 12 commits from some_more_gps_updates into develop 2023-02-08 13:04:46 +01:00
20 changed files with 148 additions and 176 deletions
Showing only changes of commit f5ba859560 - Show all commits

View File

@@ -161,7 +161,7 @@ bool GpsHyperionLinuxController::readGpsDataFromGpsd() {
return false; return false;
} }
if (readMode == ReadModes::SOCKET) { if (readMode == ReadModes::SOCKET) {
// Perform other necessary handling if not data seen for 0.2 seconds. // Poll the GPS.
if (gps_waiting(&gps, 0)) { if (gps_waiting(&gps, 0)) {
if (-1 == gps_read(&gps)) { if (-1 == gps_read(&gps)) {
readError(); readError();