summaryrefslogtreecommitdiff
path: root/timebase.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-28 07:31:57 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-28 07:31:57 -0400
commit4b667f2f22725f901198545fc4fe0c1d644dfcd3 (patch)
treee4cb4f16e5a6c4466464beb1a0c90f394c8a9a00 /timebase.c
parentf695fa37b75c966659956ababe5cbd6584b38639 (diff)
downloadgpsd-4b667f2f22725f901198545fc4fe0c1d644dfcd3.tar.gz
Keep adding detail about time problems.
Diffstat (limited to 'timebase.c')
-rw-r--r--timebase.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/timebase.c b/timebase.c
index ce31bf2c..c10cfe87 100644
--- a/timebase.c
+++ b/timebase.c
@@ -24,9 +24,9 @@ inaccurate between a cold boot or leap second and the following
subframe broadcast.
It might be best not to trust time for 20 minutes after GPSD startup
-(long enough for an ephemeris to load) but this isn't actually
-implemented as the divergence will normally be only one second or
-less.
+if it is more than 500ms from current system time (that is long enough
+for an ephemeris to load) but this isn't actually implemented as the
+divergence will normally be only one second or less.
GPS date and time are subject to a rollover problem in the 10-bit week
number counter, which will re-zero every 1024 weeks (roughly every 20