diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-25 14:09:11 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-25 14:09:11 -0400 |
commit | 6774530c498d9b883ecdfd8bd61e65b491063092 (patch) | |
tree | 993c226f873e9cc1d3ce7302e50bf4c57ae51d82 /gpsdecode.c | |
parent | 2746162c31835d5bca0c91aa57e3e02ce8d37733 (diff) | |
download | gpsd-6774530c498d9b883ecdfd8bd61e65b491063092.tar.gz |
Allow gpsedecode to dump SKY reports.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r-- | gpsdecode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsdecode.c b/gpsdecode.c index 22238817..b65e1f46 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -563,7 +563,8 @@ static void decode(FILE *fpin, FILE*fpout) gpsd_set_century(&session); if (verbose >= 1 && TEXTUAL_PACKET_TYPE(session.packet.type)) (void)fputs((char *)session.packet.outbuffer, fpout); - if ((changed & (REPORT_IS|SUBFRAME_SET|AIS_SET|RTCM2_SET|RTCM3_SET|PASSTHROUGH_IS)) == 0) + /* mask should match what's in report_data() */ + if ((changed & (REPORT_IS|GST_SET|SATELLITE_SET|SUBFRAME_SET|ATTITUDE_SET|RTCM2_SET|RTCM3_SET|AIS_SET|PASSTHROUGH_IS)) == 0) continue; if (!filter(changed, &session)) continue; |