summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-10-23 20:18:33 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-10-23 20:18:33 +0000
commitb8c09af54f9a359bb6b868675ffeb8ceec710e78 (patch)
tree24e63180bbb2a94963398d8e55071b93c4c29c6f /gpsd.h
parent4d33f62e589ca9bf27d6d43683e5606b04e27f08 (diff)
downloadgpsd-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.h4
1 files changed, 1 insertions, 3 deletions
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