summaryrefslogtreecommitdiff
path: root/pseudonmea.c
diff options
context:
space:
mode:
authorGregory Fong <gregory.fong@virginorbit.com>2018-07-14 13:29:58 -0700
committerGary E. Miller <gem@rellim.com>2018-07-14 13:29:58 -0700
commitbbdb8d7ebbdc937fa24ef0fbf9d917a5e03110a0 (patch)
tree9197230fb8255ba1aeafe144a5140c9578809dca /pseudonmea.c
parent7fb0c3fecc8b523168c369c8ae58376400a7e944 (diff)
downloadgpsd-bbdb8d7ebbdc937fa24ef0fbf9d917a5e03110a0.tar.gz
Fix pseudo GSA generation
At one point, the check for MODE_SET made sense in gpsd_binary_quality_dump(). But since then, the calling code was refactored to only invoke nmea_tpv_dump() when REPORT_IS is set, eliminating the dupes. Remove the MODE_SET check and update the affected binary regression check files to contain the expected GSA sentences. Signed-off-by: Gary E. Miller <gem@rellim.com>
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 e45b673d..84a22050 100644
--- a/pseudonmea.c
+++ b/pseudonmea.c
@@ -160,7 +160,7 @@ static void gpsd_binary_quality_dump(struct gps_device_t *session,
char *bufp2;
bufp[0] = '\0';
- if (session->device_type != NULL && (session->gpsdata.set & MODE_SET) != 0) {
+ if (session->device_type != NULL) {
int i, j;
int max_channels = session->device_type->channels;