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_superstar2.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_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index 534456b8..52e93a69 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -601,8 +601,10 @@ static void superstar2_set_mode(struct gps_device_t *session, int mode) const struct gps_type_t superstar2_binary = { /* Full name of type */ .type_name = "SuperStarII binary", - /* associated lexer packet type */ - .packet_type = SUPERSTAR2_PACKET, + /* Associated lexer packet type */ + .packet_type = SUPERSTAR2_PACKET, + /* Device class - what kind of data it hands back */ + .device_class = GPS, /* Response string that identifies device (not active) */ .trigger = NULL, /* Number of satellite channels supported by the device */ |