From b8c09af54f9a359bb6b868675ffeb8ceec710e78 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 23 Oct 2006 20:18:33 +0000 Subject: Move the logic for poking the NTP daemomn out of the NMEA driver. --- gpsd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gpsd.h') diff --git a/gpsd.h b/gpsd.h index c9858476..d5d72d92 100644 --- a/gpsd.h +++ b/gpsd.h @@ -147,6 +147,7 @@ struct gps_device_t { double poll_times[FD_SETSIZE]; /* last daemon poll time */ #ifdef NTPSHM_ENABLE int shmTime; + double last_fixtime; /* so updates happen once */ # ifdef PPS_ENABLE int shmTimeP; # endif /* PPS_ENABLE */ @@ -164,9 +165,6 @@ struct gps_device_t { int part, await; /* for tracking GSV parts */ struct tm date; double subseconds; -# ifdef NTPSHM_ENABLE - double last_fixtime; /* so updates happen once */ -# endif /* NTPSHM_ENABLE */ } nmea; #endif /* NMEA_ENABLE */ #ifdef BINARY_ENABLE -- cgit v1.2.1