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_garmin.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_garmin.c')
-rw-r--r-- | driver_garmin.c | 3 |
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 */ |