summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-10 00:15:46 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-10 00:15:46 -0400
commit47711a16e5267f4bf1a75c354d43fe29aa65c653 (patch)
tree2bea43e2ca50f7301739aeb641b5aafa77282faf /gpsd.h-tail
parentd6c1a9c97365e69341b6317648d755b523a4b67c (diff)
downloadgpsd-47711a16e5267f4bf1a75c354d43fe29aa65c653.tar.gz
Detect and scavenge unused daemon-side status-mask bit.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail35
1 files changed, 16 insertions, 19 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index c62e3177..39a61886 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -218,25 +218,22 @@ typedef enum {
#define STATUS_IS 0x00000100u
#define MODE_IS 0x00000200u
#define DOP_IS 0x00000400u
-#define HERR_IS 0x00001000u
-#define VERR_IS 0x00002000u
-#define PERR_IS 0x00004000u
-#define SATELLITE_IS 0x00010000u
-#define RAW_IS 0x00020000u
-#define USED_IS 0x00040000u
-#define SPEEDERR_IS 0x00080000u
-#define TRACKERR_IS 0x00100000u
-#define CLIMBERR_IS 0x00200000u
-#define DEVICE_IS 0x00400000u
-#define DEVICELIST_IS 0x00800000u
-#define DEVICEID_IS 0x01000000u
-#define ERROR_IS 0x02000000u
-#define RTCM2_IS 0x04000000u
-#define RTCM3_IS 0x08000000u
-#define AIS_IS 0x10000000u
-#define PACKET_IS 0x20000000u
-#define CLEAR_IS 0x40000000u /* sentence starts a reporting cycle */
-#define REPORT_IS 0x80000000u /* sentence ends a reporting cycle */
+#define HERR_IS 0x00000800u
+#define VERR_IS 0x00001000u
+#define PERR_IS 0x00002000u
+#define SATELLITE_IS 0x00004000u
+#define RAW_IS 0x00008000u
+#define USED_IS 0x00010000u
+#define SPEEDERR_IS 0x00020000u
+#define DEVICE_IS 0x00040000u
+#define DEVICEID_IS 0x00100000u
+#define ERROR_IS 0x00200000u
+#define RTCM2_IS 0x00400000u
+#define RTCM3_IS 0x00800000u
+#define AIS_IS 0x01000000u
+#define PACKET_IS 0x02000000u
+#define CLEAR_IS 0x04000000u /* sentence starts a reporting cycle */
+#define REPORT_IS 0x08000000u /* sentence ends a reporting cycle */
#define DATA_IS ~(ONLINE_IS|PACKET_IS|CLEAR_IS|REPORT_IS)
struct gps_type_t {