From b82cc253da1de5c9beb4674a2e7f855aaea010e5 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 5 Apr 2016 14:28:14 -0700 Subject: Bad NMEA time was still leaking, require 3 fixes for time. --- ppsthread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ppsthread.h') 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 -- cgit v1.2.1