This commit is contained in:
parent
b2de4ee08c
commit
f5ba859560
@ -161,7 +161,7 @@ bool GpsHyperionLinuxController::readGpsDataFromGpsd() {
|
||||
return false;
|
||||
}
|
||||
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 (-1 == gps_read(&gps)) {
|
||||
readError();
|
||||
|
Loading…
x
Reference in New Issue
Block a user