summaryrefslogtreecommitdiff
path: root/timebase.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-09 18:15:02 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-09 18:15:02 -0400
commit74489dc6b014769a9e7028332fe3d0312c7201f0 (patch)
tree05ce918e7fc91e0c806e0dd035b972f07d379d5e /timebase.c
parenta6903655c02f0e3a7e5522996bea694d0dec47d2 (diff)
downloadgpsd-74489dc6b014769a9e7028332fe3d0312c7201f0.tar.gz
The GPS time rollover check fires too often. Disable until we figure out why.
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/timebase.c b/timebase.c
index 8787d1f4..aec143cb 100644
--- a/timebase.c
+++ b/timebase.c
@@ -188,6 +188,7 @@ timestamp_t gpsd_gpstime_resolve(/*@in@*/struct gps_device_t *session,
{
timestamp_t t;
+#ifdef __UNUSED__
/*
* This code detects and compensates for week counter rollovers that
* happen while gpsd is running. It will not save you if there was a
@@ -199,6 +200,7 @@ timestamp_t gpsd_gpstime_resolve(/*@in@*/struct gps_device_t *session,
gpsd_report(LOG_INF, "GPS week 10-bit rollover detected.\n");
++session->context->rollovers;
}
+#endif __UNUSED__
/*
* This guard copes with both conventional GPS weeks and the "extended"