summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-10 04:47:03 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-10 04:47:03 +0000
commitf002dd431b2506ff7a1cd77545d9bc76edf59bc1 (patch)
treed8dc3b57425d1a5dd6b696f3cefa2760b7de6c1d /driver_zodiac.c
parentf17f90e2b520cd11a9aebcef0e6edaeaf12efe16 (diff)
downloadgpsd-f002dd431b2506ff7a1cd77545d9bc76edf59bc1.tar.gz
Abolish device classes.
That way of doing things coped poorly if, for example, NMEA and AIVDM packets were reported over the same wire. Instead, have ach device track the packet types it has actually seen and dispatch on that.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index d91ffbec..b4b07848 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -472,7 +472,6 @@ static bool zodiac_speed_switch(struct gps_device_t *session,
const struct gps_type_t zodiac_binary =
{
.type_name = "Zodiac binary", /* full name of type */
- .device_class = GPS, /* it's a GPS */
.packet_type = ZODIAC_PACKET, /* associated lexer packet type */
.trigger = NULL, /* no trigger */
.channels = 12, /* consumer-grade GPS */