diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-04 02:10:11 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-04 02:10:11 +0000 |
commit | 6dfd528f4cedef57cb2122a7a90da5327ff8cfaa (patch) | |
tree | 9bc0f9efa9b6024cbb85bbdeab9bbbb42d14d88b /driver_ubx.c | |
parent | dd8dae8245b93b458ef748e3a6812c891fd243a4 (diff) | |
download | gpsd-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.c | 2 |
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, |