diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-07-24 18:37:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-07-24 18:37:42 +0000 |
commit | a387bd933fa39a2da8a1015aaddbeb9a42c7036a (patch) | |
tree | f331abecd5c696cecbd4d7522d2e2688c37ca15a /driver_zodiac.c | |
parent | 365650338b14fbbb96533aa2a7c49835039273cb (diff) | |
download | gpsd-a387bd933fa39a2da8a1015aaddbeb9a42c7036a.tar.gz |
Add and document the device_class member, so we can do ?DEVICES properly.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r-- | driver_zodiac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c index b4b07848..d91ffbec 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -472,6 +472,7 @@ 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 */ |