summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 7431f109..1b6f6a9c 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -54,7 +54,6 @@ typedef unsigned int speed_t;
enum isgpsstat_t {
ISGPS_NO_SYNC, ISGPS_SYNC, ISGPS_SKIP, ISGPS_MESSAGE,
};
-#define ISGPS_ERRLEVEL_BASE 5
#define RTCM_MAX (RTCM2_WORDS_MAX * sizeof(isgps30bits_t))
@@ -610,6 +609,8 @@ struct gps_device_t {
#define LOG_SPIN 6 /* logging for catching spin bugs */
#define LOG_RAW 7 /* raw low-level I/O */
+#define ISGPS_ERRLEVEL_BASE LOG_RAW
+
#define IS_HIGHEST_BIT(v,m) (v & ~((m<<1)-1))==0
/* here are the available GPS drivers */