diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-06-20 05:04:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-06-20 05:04:30 +0000 |
commit | 309d3fe3cf6a573b14c9a34b0080e0d4f5b839ea (patch) | |
tree | 535a90e48283d349dd55330f034a4e4684119cfd /sirf.c | |
parent | e8fc2bf18aa9a45dc6e8cfc7d67907fdb1a5acf2 (diff) | |
download | gpsd-309d3fe3cf6a573b14c9a34b0080e0d4f5b839ea.tar.gz |
This may fix Andreas Brauchli's climb bug.
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ gps_mask_t sirf_parse(struct gps_device_t *session, unsigned char *buf, size_t l else if (session->gpsdata.status != 0) session->gpsdata.newdata.mode = MODE_2D; if (session->gpsdata.newdata.mode == MODE_3D) - mask |= ALTITUDE_SET; + mask |= ALTITUDE_SET | CLIMB_SET; gpsd_report(4, "MND 0x02: Navtype = 0x%0x, Status = %d, mode = %d\n", navtype,session->gpsdata.status,session->gpsdata.newdata.mode); /* byte 20 is HDOP, see below */ |