summaryrefslogtreecommitdiff
path: root/driver_oncore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
commit0658c2fb8d15fbe78fdd4edd1be184559ab53c32 (patch)
treeb61f6cc53b9aaf5d0575f93966b18a799861460b /driver_oncore.c
parente18934bf45246408915652f7b6a5e5ce66cccd8a (diff)
downloadgpsd-0658c2fb8d15fbe78fdd4edd1be184559ab53c32.tar.gz
Drop the obsolete tag field from JSON output. Bump the minor protocol number.
Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
Diffstat (limited to 'driver_oncore.c')
-rw-r--r--driver_oncore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/driver_oncore.c b/driver_oncore.c
index f6956814..d745b476 100644
--- a/driver_oncore.c
+++ b/driver_oncore.c
@@ -369,9 +369,6 @@ gps_mask_t oncore_dispatch(struct gps_device_t * session, unsigned char *buf,
gpsd_report(session->context->debug, LOG_RAW,
"raw Oncore packet type 0x%04x\n", type);
- (void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag),
- "MOT-%c%c", type >> 8, type & 0xff);
-
session->cycle_end_reliable = true;
switch (type) {