summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-04 02:10:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-04 02:10:11 +0000
commit6dfd528f4cedef57cb2122a7a90da5327ff8cfaa (patch)
tree9bc0f9efa9b6024cbb85bbdeab9bbbb42d14d88b /driver_ubx.c
parentdd8dae8245b93b458ef748e3a6812c891fd243a4 (diff)
downloadgpsd-6dfd528f4cedef57cb2122a7a90da5327ff8cfaa.tar.gz
Fix one of gdt's regression-test failures.
Turns out uBlox was setting USED_SET when it shouldn't have, leading to spurious satellite numbers in the faked $GSAs. There's still something a bit off here, as some of those slots should be populated. But at least we getr consistent zeroes now instead of random garbage. Revisit this after the 2.90 release.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 95a1ef48..244806d7 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -112,7 +112,7 @@ ubx_msg_nav_sol(struct gps_device_t *session, unsigned char *buf, size_t data_le
else if (session->gpsdata.fix.mode != MODE_NO_FIX)
session->gpsdata.status = STATUS_FIX;
- mask |= MODE_SET | STATUS_SET | USED_SET ;
+ mask |= MODE_SET | STATUS_SET;
gpsd_report(LOG_DATA,
"NAVSOL: time=%.2f lat=%.2f lon=%.2f alt=%.2f track=%.2f speed=%.2f climb=%.2f mode=%d status=%d used=%d mask=%s\n",
session->gpsdata.fix.time,