summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-28 20:16:24 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-28 20:16:24 -0500
commita259e740fa84206bebd36cc664dc791bef7e47a5 (patch)
tree3724e78605b1efdc060fc84fceb3b92f73074ad6 /gps.h
parentfe004de30f385bc6c04a3d29348aecfe9e326ce2 (diff)
downloadgpsd-a259e740fa84206bebd36cc664dc791bef7e47a5.tar.gz
Reserve a flag bit.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gps.h b/gps.h
index 769d0074..779b73c5 100644
--- a/gps.h
+++ b/gps.h
@@ -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;