summaryrefslogtreecommitdiff
path: root/subframe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-27 22:22:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-27 22:22:31 -0500
commit4c3199910c0144dde789944aae9febd2154e0fe1 (patch)
tree33d9c34b69476e109c14a22f77cd0f7786bb5b2f /subframe.c
parent809c419ceedba59c900e7c258d428def5e1ea0a0 (diff)
downloadgpsd-4c3199910c0144dde789944aae9febd2154e0fe1.tar.gz
Gary Miller explained about CNAV, and I was enlightened.
Diffstat (limited to 'subframe.c')
-rw-r--r--subframe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/subframe.c b/subframe.c
index 34091860..d42015ee 100644
--- a/subframe.c
+++ b/subframe.c
@@ -221,9 +221,10 @@ void gpsd_interpret_subframe(struct gps_device_t *session,
/* get Week Number (WN) from subframe 1 */
{
/*
- * FIXME: This only extracts 10 bits of GPS week.
- * This counter is moving to 13 bits, but we don't
- * know how or when to look for the other 3 yet.
+ * This only extracts 10 bits of GPS week.
+ * 13 bits are available in the extension CNAV message,
+ * which we don't decode yet because we don't know
+ * of any receiver that reports it.
*/
session->context->gps_week =
(unsigned short)((words[2] >> 14) & 0x03ff);