summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2013-11-05 18:07:47 -0800
committerGary E. Miller <gem@rellim.com>2013-11-05 18:07:47 -0800
commitedc4eb375078fe61662c12e3909b1002cc1f13eb (patch)
tree26fefb8c210acd4a366d5e4e6c5619fd563cb751 /ntpshm.c
parent30dd3f285c239bda0212c975b8cd9691440db48c (diff)
downloadgpsd-edc4eb375078fe61662c12e3909b1002cc1f13eb.tar.gz
Get some ntpshm coments to align with new reality
Diffstat (limited to 'ntpshm.c')
-rw-r--r--ntpshm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ntpshm.c b/ntpshm.c
index f0b0b7d8..51e558c1 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -414,15 +414,13 @@ static void init_hook(struct gps_device_t *session)
/*@+mustfreefresh@*/
-/* actual_ts is when we think the PPS pulse wass */
-/* clock_ts is the local clocke time we saw the pulse */
+/* td is the real time and clock time of the edge */
/* offset is actual_ts - clock_ts */
static void chrony_send(struct gps_device_t *session,
struct timedrift_t *td, double offset)
{
struct sock_sample sample;
- /* FIXME!! offset is double of the error from local time */
/* chrony expects tv-sec since Jan 1970 */
sample.pulse = 0;
sample.leap = session->context->leap_notify;