summaryrefslogtreecommitdiff
path: root/driver_superstar2.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_superstar2.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_superstar2.c')
-rw-r--r--driver_superstar2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index a09eab60..ff151f6d 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -395,9 +395,6 @@ superstar2_dispatch(struct gps_device_t * session, unsigned char *buf,
return 0;
type = (int)buf[SUPERSTAR2_TYPE_OFFSET];
- (void)snprintf(session->gpsdata.tag,
- sizeof(session->gpsdata.tag), "SS2-%d", type);
-
session->cycle_end_reliable = true;
switch (type) {