summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-01-13 08:29:11 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-01-13 08:29:11 -0500
commit46c8965d9061d2ca0f3db6710bec6eacea605f40 (patch)
tree884e6bc0295601bdcf46f5e39c64aa636e8ec2ae /gpsd.h-tail
parentab92f1d0a7926543fe836357c4fa56953f331ec0 (diff)
downloadgpsd-46c8965d9061d2ca0f3db6710bec6eacea605f40.tar.gz
Clean STATUS_DGPS_FIX out of the public interface. All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail6
1 files changed, 6 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 2a3bc63e..6bef6953 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -315,6 +315,12 @@ typedef enum {
event_reactivate,
} event_t;
+/*
+ * Used internally only in the gpsdata status field; not exported to
+ * client-side gpsdata structures. Instead this is used to change
+ * the base U_ERE values used by the error modeler.
+ */
+#define STATUS_DGPS_FIX 2 /* yes, with DGPS */
#define INTERNAL_SET(n) ((gps_mask_t)(1llu<<(SET_HIGH_BIT+(n))))
#define RAW_IS INTERNAL_SET(1) /* raw pseudorange data available */