summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-20 16:52:53 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-20 16:52:53 -0500
commit54fb5427ed51ec65e620159ab0d0474d43b5145a (patch)
treebfd13a95e78a03bf0d98d6fe190cb7e40e9a085f /gps.h
parent54fe1ec39a26c8cef311fdf7963f22252ebf5664 (diff)
downloadgpsd-54fb5427ed51ec65e620159ab0d0474d43b5145a.tar.gz
Avoid overexposure of an internal mask. EOF_SET -> EOF_IS
Also, use PPSDRIFT_SET as a client-side status flag for JSON PPS rather than the (not yet shipped) TIMEDRIFT_SET. Next release we're probably going to add a drift object for in-line time. No logic changes. All regression tests pass.
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 c7515510..15467f25 100644
--- a/gps.h
+++ b/gps.h
@@ -1957,7 +1957,7 @@ struct gps_data_t {
#define LOGMESSAGE_SET (1llu<<30)
#define ERROR_SET (1llu<<31)
#define TIMEDRIFT_SET (1llu<<32)
-#define EOF_SET (1llu<<33)
+#define PPSDRIFT_SET (1llu<<33)
#define SET_HIGH_BIT 34
timestamp_t online; /* NZ if GPS is on line, 0 if not.
*