Some GPS updates #369
@@ -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();
|
||||||
|
Reference in New Issue
Block a user