diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 06:50:49 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-07 06:50:49 -0500 |
commit | 2eed866084e4553473f63951d89de4490ce0169c (patch) | |
tree | 2871a2dda9955daabb8efab913cd3b13684cb8f8 /gpsd.h-tail | |
parent | 61c16bebe1a56cb1c211733b92474bf866eba87d (diff) | |
download | gpsd-2eed866084e4553473f63951d89de4490ce0169c.tar.gz |
Revert "ntplib extraction requires libgpsd object format bump to 23."
We need to sneak up on this in a more subtle way.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 911cd5d1..318ebf37 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -500,6 +500,7 @@ 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; @@ -508,7 +509,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 *); - volatile struct pps_thread_t pps_thread; + struct pps_state_t pps_state; #endif /* PPS_ENABLE */ double mag_var; /* magnetic variation in degrees */ bool back_to_nmea; /* back to NMEA on revert? */ |