summaryrefslogtreecommitdiff
path: root/ppsthread.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-04-05 14:28:14 -0700
committerGary E. Miller <gem@rellim.com>2016-04-05 14:28:14 -0700
commitb82cc253da1de5c9beb4674a2e7f855aaea010e5 (patch)
tree470c13341100967baee00fef19614174e03c8399 /ppsthread.h
parente30203491a842d63254db19fe261971f98c50a36 (diff)
downloadgpsd-b82cc253da1de5c9beb4674a2e7f855aaea010e5.tar.gz
Bad NMEA time was still leaking, require 3 fixes for time.
Diffstat (limited to 'ppsthread.h')
-rw-r--r--ppsthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppsthread.h b/ppsthread.h
index b37e739c..7c3c5d65 100644
--- a/ppsthread.h
+++ b/ppsthread.h
@@ -16,6 +16,8 @@ struct timedelta_t {
};
#endif /* TIMEDELTA_DEFINED */
+#define PPS_MIN_FIXES 3 /* # fixes to wait for before shipping NTP time */
+
/*
* Set context, devicefd, and devicename at initialization time, before
* you call pps_thread_activate(). The context pointer can be used to