diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-11 08:32:15 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-11 08:32:15 -0400 |
commit | 215a4054880af2993f81c1e26245084e2075a6da (patch) | |
tree | e89c1852140e11d113954f3d365a3ad640631c67 /libgpsd_core.c | |
parent | d58f5ce5a04e7a680d67796f80d22f73d4943e40 (diff) | |
download | gpsd-215a4054880af2993f81c1e26245084e2075a6da.tar.gz |
Simplify the thread-monitor interface.
PPS observed live on GR601W.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 4464d0c2..5923e240 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1690,7 +1690,7 @@ void ntp_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td) #ifdef PPS_ENABLE /* thread-safe update */ /*@-compdef@*/ - pps_thread_stash_fixtime(&device->pps_thread, td->real, td->clock); + pps_thread_fixin(&device->pps_thread, td); /*@+compdef@*/ #endif /* PPS_ENABLE */ } |