diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-10-23 20:18:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-10-23 20:18:33 +0000 |
commit | b8c09af54f9a359bb6b868675ffeb8ceec710e78 (patch) | |
tree | 24e63180bbb2a94963398d8e55071b93c4c29c6f /gpsd.h | |
parent | 4d33f62e589ca9bf27d6d43683e5606b04e27f08 (diff) | |
download | gpsd-b8c09af54f9a359bb6b868675ffeb8ceec710e78.tar.gz |
Move the logic for poking the NTP daemomn out of the NMEA driver.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |