summaryrefslogtreecommitdiff
path: root/driver_garmin.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-07-24 18:37:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-07-24 18:37:42 +0000
commita387bd933fa39a2da8a1015aaddbeb9a42c7036a (patch)
treef331abecd5c696cecbd4d7522d2e2688c37ca15a /driver_garmin.c
parent365650338b14fbbb96533aa2a7c49835039273cb (diff)
downloadgpsd-a387bd933fa39a2da8a1015aaddbeb9a42c7036a.tar.gz
Add and document the device_class member, so we can do ?DEVICES properly.
Diffstat (limited to 'driver_garmin.c')
-rw-r--r--driver_garmin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_garmin.c b/driver_garmin.c
index 008326ec..8bfddc2e 100644
--- a/driver_garmin.c
+++ b/driver_garmin.c
@@ -1202,6 +1202,7 @@ const struct gps_type_t garmin_usb_binary_old =
{
.type_name = "Garmin USB binary", /* full name of type */
.packet_type = GARMIN_PACKET; /* associated lexer packet type */
+ .device_class = GPS, /* it's a GPS */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_wakeup = NULL, /* no wakeup to be done before hunt */
@@ -1229,6 +1230,7 @@ const struct gps_type_t garmin_usb_binary =
{
.type_name = "Garmin USB binary", /* full name of type */
.packet_type = GARMIN_PACKET, /* associated lexer packet type */
+ .device_class = GPS, /* it's a GPS */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_wakeup = NULL, /* no wakeup to be done before hunt */
@@ -1255,6 +1257,7 @@ const struct gps_type_t garmin_ser_binary =
{
.type_name = "Garmin Serial binary", /* full name of type */
.packet_type = GARMIN_PACKET, /* associated lexer packet type */
+ .device_class = GPS, /* it's a GPS */
.trigger = NULL, /* no trigger, it has a probe */
.channels = GARMIN_CHANNELS, /* consumer-grade GPS */
.probe_wakeup = NULL, /* no wakeup to be done before hunt */