summaryrefslogtreecommitdiff
path: root/driver_navcom.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_navcom.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_navcom.c')
-rw-r--r--driver_navcom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index 3cecbe86..fdecf661 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -1134,9 +1134,6 @@ gps_mask_t navcom_parse(struct gps_device_t * session, unsigned char *buf,
gpsd_report(session->context->debug, LOG_RAW, "Navcom: packet type 0x%02x\n", cmd_id);
/*@ +usedef +compdef @*/
- (void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag),
- "0x%02x", cmd_id);
-
session->cycle_end_reliable = true;
switch (cmd_id) {