diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-04 05:50:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-04 05:50:57 +0000 |
commit | 8142d751bf11aee64cb9345bc8e84090998cc857 (patch) | |
tree | a01f31434fc6cce836d00d6add7be2ee6d5dac8a /libgpsd_core.c | |
parent | 29050a4a71ade5456b4da6e3ab6f7ddd9a0363ef (diff) | |
download | gpsd-8142d751bf11aee64cb9345bc8e84090998cc857.tar.gz |
Refactor so RTCM2 dumping is done with the other kinds in gpsd.c.
Rather this than as a special case in libgpsd_core.c. RTCM2 regression test
moves to JSON.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 7220e410..cdbd1351 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -824,9 +824,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) /* Some kinds of data is automatically passed through */ #ifdef RTCM104V2_ENABLE - if ((session->gpsdata.set & RTCM2_SET) != 0) - rtcm2_sager_dump(&session->gpsdata.rtcm2, buf2, sizeof(buf2)); - else + if ((session->gpsdata.set & RTCM2_SET) == 0) #endif /* RTCM104V2_ENABLE */ // FIXME: Add RTCMv3 handling as well. #ifdef BINARY_ENABLE |