summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-02-07 16:58:19 -0800
committerGary E. Miller <gem@rellim.com>2019-02-07 16:58:19 -0800
commit59532230e608e06d4dea370ab072b1b349d5c432 (patch)
treeef5dad0fe04558d5ff7d579b856b4b524dd1b1f8 /driver_ubx.c
parent75fc3d837ad02a1befe5272ecd7657e41224bfea (diff)
downloadgpsd-59532230e608e06d4dea370ab072b1b349d5c432.tar.gz
driver_ubx: Ignore GLONASSA with PRN 255.
You can get a bunch of these, no way to disambiguate. No useful info.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 2f80a5b8..b52bf1d9 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -833,9 +833,8 @@ ubx_msg_nav_svinfo(struct gps_device_t *session, unsigned char *buf,
session->gpsdata.skyview[st].gnssid = 2;
session->gpsdata.skyview[st].svid = PRN - 210;
} else if (255 == PRN) {
- /* GLONASS, again */
- session->gpsdata.skyview[st].gnssid = 6;
- session->gpsdata.skyview[st].svid = 255;
+ /* GLONASS, again, unused, untracked */
+ continue;
}
session->gpsdata.skyview[st].PRN = PRN;