summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2013-10-22 19:45:00 -0700
committerGary E. Miller <gem@rellim.com>2013-10-22 19:45:00 -0700
commit52f9692a12ee7224671ea202eeae97ef0ea04d1f (patch)
tree5086c85484718e609ca293f5e08dbea8ab03bce0 /ntpshm.c
parent80d0894cff606d4f152d5adc2ebf1c38d6c7038b (diff)
downloadgpsd-52f9692a12ee7224671ea202eeae97ef0ea04d1f.tar.gz
Add a FIXME of a potential, never reported, problem.
Diffstat (limited to 'ntpshm.c')
-rw-r--r--ntpshm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ntpshm.c b/ntpshm.c
index 28705e1f..8cffb078 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -769,6 +769,8 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
"KPPS kernel PPS failed\n");
} else {
// find the last edge
+ // FIXME a bit simplistic, should hook into the
+ // cycle/duration check below.
if ( pi.assert_timestamp.tv_sec > pi.clear_timestamp.tv_sec ) {
edge_kpps = 1;
tv_kpps = pi.assert_timestamp;