summaryrefslogtreecommitdiff
path: root/pseudonmea.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-18 18:24:21 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-18 18:24:21 +0000
commitf00b96ea794bed82bc3d0f9b279b5f7cd09547c5 (patch)
tree9bc30141f943a2600f44afed5be3acb31165ebd5 /pseudonmea.c
parentd467b5f0eaa04ac482f3117cd7f79e4ff6f73674 (diff)
downloadgpsd-f00b96ea794bed82bc3d0f9b279b5f7cd09547c5.tar.gz
Arrgh. I confused ERR_SET with ERROR_SET in a couple of places.
ERR_SET is now gone entirely, so in the extremely unlikely even that an app developer got caught by this (could never happen unless they shipped a bad command via the deprecated gps_send() entry point) the code will break noisily. All regression tests pass.
Diffstat (limited to 'pseudonmea.c')
-rw-r--r--pseudonmea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudonmea.c b/pseudonmea.c
index 38d21aa3..26c785e4 100644
--- a/pseudonmea.c
+++ b/pseudonmea.c
@@ -234,7 +234,7 @@ void nmea_tpv_dump(struct gps_device_t *session,
gpsd_position_fix_dump(session, bufp, len);
gpsd_transit_fix_dump(session, bufp + strlen(bufp), len - strlen(bufp));
}
- if ((session->gpsdata.set & (MODE_SET | DOP_SET | USED_SET | ERR_SET)) != 0)
+ if ((session->gpsdata.set & (MODE_SET | DOP_SET | USED_SET | HERR_SET | VERR_SET)) != 0)
gpsd_binary_quality_dump(session, bufp+strlen(bufp), len-strlen(bufp));
}