diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-07-25 12:45:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-07-25 12:45:33 +0000 |
commit | fee5edd0b3df8f489721852c8dcd04322121dacc (patch) | |
tree | 48bff10839229c2e99cd91c831491d70ead75d10 /gpsd.h-tail | |
parent | 24b03b74736a84662acb923fba4050248ab03497 (diff) | |
download | gpsd-fee5edd0b3df8f489721852c8dcd04322121dacc.tar.gz |
'G' command no longer has side effects.
All commands other than B R W X force assignment of a GPS device. The
'requires' member is gone from the subscriber structure. This change
will have no effect on applications using the client library, and
eliminates te possibility that a one-shot command requiring a GPS will
fail because it binds the wrong device type.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index b89034cf..5eb94a09 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -174,7 +174,7 @@ struct gps_device_t; #define MODE_NMEA 0 #define MODE_BINARY 1 -typedef enum {UNKNOWN, GPS, RTCM2, RTCM3, AIS} gnss_type; +typedef enum {ANY, GPS, RTCM2, RTCM3, AIS} gnss_type; struct gps_type_t { /* GPS method table, describes how to talk to a particular GPS type */ |