summaryrefslogtreecommitdiff
path: root/driver_garmin.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_garmin.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_garmin.c')
-rw-r--r--driver_garmin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/driver_garmin.c b/driver_garmin.c
index f6e46155..4ecdad49 100644
--- a/driver_garmin.c
+++ b/driver_garmin.c
@@ -656,8 +656,6 @@ static gps_mask_t PrintUSBPacket(struct gps_device_t *session, Packet_t * pkt)
return 0;
}
- (void)snprintf(session->gpsdata.tag, sizeof(session->gpsdata.tag), "%u",
- (unsigned int)pkt->mPacketType);
switch (pkt->mPacketType) {
case GARMIN_LAYERID_TRANSPORT:
/* Garmin USB layer specific */