summaryrefslogtreecommitdiff
path: root/sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-20 05:04:30 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-20 05:04:30 +0000
commit309d3fe3cf6a573b14c9a34b0080e0d4f5b839ea (patch)
tree535a90e48283d349dd55330f034a4e4684119cfd /sirf.c
parente8fc2bf18aa9a45dc6e8cfc7d67907fdb1a5acf2 (diff)
downloadgpsd-309d3fe3cf6a573b14c9a34b0080e0d4f5b839ea.tar.gz
This may fix Andreas Brauchli's climb bug.
Diffstat (limited to 'sirf.c')
-rw-r--r--sirf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sirf.c b/sirf.c
index 6364c688..545a911d 100644
--- a/sirf.c
+++ b/sirf.c
@@ -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 */