summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
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;