summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-13 21:15:26 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-13 21:15:26 -0500
commitc156357dc42afafe9efed3597588a33a6055031e (patch)
tree1910eaa98378e6c4aa922ab53a128c454ac74380 /gps.h
parentcfc75901928f2eb1ce3de20a747b2d01fb11093d (diff)
downloadgpsd-c156357dc42afafe9efed3597588a33a6055031e.tar.gz
ppsbar -> pps.
All regression tests pass. PPS is live in both gpsd and gpsmon.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gps.h b/gps.h
index 105735a2..915451d1 100644
--- a/gps.h
+++ b/gps.h
@@ -1882,7 +1882,7 @@ struct policy_t {
bool scaled; /* requesting report scaling? */
bool timing; /* requesting timing info */
bool split24; /* requesting split AIS Type 24s */
- bool ppsbar; /* requesting PPS bar display */
+ bool pps; /* requesting PPS in NMEA/raw modes */
int loglevel; /* requested log level of messages */
char devpath[GPS_PATH_MAX]; /* specific device to watch */
char remote[GPS_PATH_MAX]; /* ...if this was passthrough */
@@ -1917,7 +1917,7 @@ typedef int socket_t;
#define WATCH_TIMING 0x000200u /* timing information */
#define WATCH_DEVICE 0x000800u /* watch specific device */
#define WATCH_SPLIT24 0x001000u /* split AIS Type 24s */
-#define WATCH_PPSBAR 0x002000u /* enable PPS comment packets */
+#define WATCH_PPS 0x002000u /* enable PPS JSON */
#define WATCH_NEWSTYLE 0x010000u /* force JSON streaming */
#define WATCH_OLDSTYLE 0x020000u /* force old-style streaming */