summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-08 17:09:27 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-08 17:09:27 -0400
commit34d5fc4bda1c2c56fb5e7e3004668e378e67e74d (patch)
treef499f7b4cd2648907a09cb9c614d76cfd92d73fa /gps.h
parent051ca45f6e5d4e09e783c4534bca022a3f1d7141 (diff)
downloadgpsd-34d5fc4bda1c2c56fb5e7e3004668e378e67e74d.tar.gz
Bug fix needed for gps_stream(WATCH_DISABLE...) to work.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 2864a487..21be5ddf 100644
--- a/gps.h
+++ b/gps.h
@@ -912,7 +912,6 @@ struct policy_t {
typedef int socket_t;
/* mode flags for setting streaming policy */
-#define WATCH_DISABLE 0x0000u /* disable watching */
#define WATCH_ENABLE 0x0001u /* enable streaming */
#define WATCH_JSON 0x0002u /* enable JSON output */
#define WATCH_NMEA 0x0004u /* enable output in NMEA */
@@ -922,6 +921,7 @@ typedef int socket_t;
#define WATCH_NEWSTYLE 0x0040u /* force JSON streaming */
#define WATCH_OLDSTYLE 0x0080u /* force old-style streaming */
#define WATCH_DEVICE 0x0100u /* watch specific device */
+#define WATCH_DISABLE 0x0200u /* disable watching */
#define POLL_NONBLOCK 0x1000u /* set non-blocking poll (experimental!) */
/*