From 46abff44d4df18ffe5d7c79df77fc116d75cdad2 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 13 Apr 2016 17:46:17 -0700 Subject: Rename PPS_M IN_FIXES to NTP_MIN_FIXES This applies to not just PPS, but all NTP reportable time. Even with a valid fix, the frist 3 times may be off. Don't send bad time to ntp/chrony. Move the definition into gpsd.h to be widely available not depending on scons options. --- ppsthread.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ppsthread.h') diff --git a/ppsthread.h b/ppsthread.h index 7c3c5d65..b37e739c 100644 --- a/ppsthread.h +++ b/ppsthread.h @@ -16,8 +16,6 @@ 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