summaryrefslogtreecommitdiff
path: root/timespec.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-04-01 04:48:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-04-01 04:48:11 -0400
commitf35ff45084e8f1d095331c4f4f69698feed782bb (patch)
tree8ad3b157feffd38353b1ecd9d58f34afca7ff66a /timespec.h
parent0eb3a85ceb4ed9a70697a952e6f10d7b1e9d29f1 (diff)
downloadgpsd-f35ff45084e8f1d095331c4f4f69698feed782bb.tar.gz
Stop making the assumption that device cycle time is 1 second in ppsthread.c.
Instead, pass out real time of last PPS as it was actually seen. We can then correct it using the device's actual cycle time. The correction currently only works for cycle times that are integral multiples of a second.
Diffstat (limited to 'timespec.h')
0 files changed, 0 insertions, 0 deletions