diff options
author | Gary E. Miller <gem@rellim.com> | 2013-11-05 18:07:47 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2013-11-05 18:07:47 -0800 |
commit | edc4eb375078fe61662c12e3909b1002cc1f13eb (patch) | |
tree | 26fefb8c210acd4a366d5e4e6c5619fd563cb751 /ntpshm.c | |
parent | 30dd3f285c239bda0212c975b8cd9691440db48c (diff) | |
download | gpsd-edc4eb375078fe61662c12e3909b1002cc1f13eb.tar.gz |
Get some ntpshm coments to align with new reality
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |