summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-07 05:50:01 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-07 05:50:01 -0500
commit61c16bebe1a56cb1c211733b92474bf866eba87d (patch)
tree8b078214f79fae9b8f9bdf608a6f69eebf334801 /gpsd.h-tail
parente92b21041e00778c72362620ad9d62ffa94613db (diff)
downloadgpsd-61c16bebe1a56cb1c211733b92474bf866eba87d.tar.gz
ntplib extraction requires libgpsd object format bump to 23.
The new struct ppsthread_t isolates the interface to the PPS monitor loop. It will need more members before we're done, including some reporting hooks.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 318ebf37..911cd5d1 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -500,7 +500,6 @@ struct gps_device_t {
volatile /*@null@*/ struct shmTime *shm_pps;
# endif /* PPS_ENABLE */
#endif /* NTP_ENABLE */
- volatile struct pps_fixtime_t last_fixtime; /* so updates happen once */
#ifdef PPS_ENABLE
#if defined(HAVE_SYS_TIMEPPS_H)
pps_handle_t kernelpps_handle;
@@ -509,7 +508,7 @@ struct gps_device_t {
/*@null@*/ char *(*thread_report_hook)(struct gps_device_t *,
struct timedelta_t *);
/*@null@*/ void (*thread_wrap_hook)(struct gps_device_t *);
- struct pps_state_t pps_state;
+ volatile struct pps_thread_t pps_thread;
#endif /* PPS_ENABLE */
double mag_var; /* magnetic variation in degrees */
bool back_to_nmea; /* back to NMEA on revert? */