diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-20 16:52:53 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-20 16:52:53 -0500 |
commit | 54fb5427ed51ec65e620159ab0d0474d43b5145a (patch) | |
tree | bfd13a95e78a03bf0d98d6fe190cb7e40e9a085f /gps.h | |
parent | 54fe1ec39a26c8cef311fdf7963f22252ebf5664 (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. * |