summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2013-11-26 15:50:05 -0800
committerGary E. Miller <gem@rellim.com>2013-11-26 15:50:05 -0800
commitde87bdd3d168e90e79897fb1e8c3e29482af6ee0 (patch)
tree895bab735bf438ba726147d4be3aa77a967a9505 /ppsthread.c
parentb7c28ae9ad786d40fc3a75efd7fa4918670964ae (diff)
downloadgpsd-de87bdd3d168e90e79897fb1e8c3e29482af6ee0.tar.gz
Fix KPPS on Linux, by reverting part of 7d06e770d5f4f8e903a5720a924a93901a140a69
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ppsthread.c b/ppsthread.c
index b0cbe03f..caed96c7 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -333,12 +333,6 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
gpsd_report(session->context->debug, LOG_ERROR,
"KPPS kernel PPS failed\n");
} else {
- /* Wait until we have both edges. */
- if (pi.assert_sequence == 0 || pi.clear_sequence == 0) {
- usleep(100000);
- continue;
- }
-
// find the last edge
// FIXME a bit simplistic, should hook into the
// cycle/duration check below.