diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-28 20:16:24 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-28 20:16:24 -0500 |
commit | a259e740fa84206bebd36cc664dc791bef7e47a5 (patch) | |
tree | 3724e78605b1efdc060fc84fceb3b92f73074ad6 /gps.h | |
parent | fe004de30f385bc6c04a3d29348aecfe9e326ce2 (diff) | |
download | gpsd-a259e740fa84206bebd36cc664dc791bef7e47a5.tar.gz |
Reserve a flag bit.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1341,7 +1341,8 @@ struct gps_data_t { #define GST_SET (1u<<27) #define VERSION_SET (1u<<28) #define POLICY_SET (1u<<29) -#define ERROR_SET (1u<<30) +#define LOGMESSAGE_SET (1u<<30) +#define ERROR_SET (1u<<31) double online; /* NZ if GPS is on line, 0 if not. * * Note: gpsd clears this time when sentences @@ -1394,7 +1395,7 @@ struct gps_data_t { char buffer[GPS_BUFFER_MAX * 2]; /* pack things never reported together to reduce structure size */ -#define UNION_SET (RTCM2_SET|RTCM3_SET|SUBFRAME_SET|AIS_SET|VERSION_SET|DEVICELIST_SET|ERROR_SET|GST_SET) +#define UNION_SET (RTCM2_SET|RTCM3_SET|SUBFRAME_SET|AIS_SET|VERSION_SET|DEVICELIST_SET|LOGMESSAGE_SET|ERROR_SET|GST_SET) union { /* unusual forms of sensor data that might come up the pipe */ struct rtcm2_t rtcm2; |