diff options
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 0dbaf6b7..e8ed6852 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1688,8 +1688,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, - device->newdata.time, td->clock); + pps_thread_stash_fixtime(&device->pps_thread, td->real, td->clock); /*@+compdef@*/ #endif /* PPS_ENABLE */ } |