diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-27 22:22:31 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-27 22:22:31 -0500 |
commit | 4c3199910c0144dde789944aae9febd2154e0fe1 (patch) | |
tree | 33d9c34b69476e109c14a22f77cd0f7786bb5b2f /subframe.c | |
parent | 809c419ceedba59c900e7c258d428def5e1ea0a0 (diff) | |
download | gpsd-4c3199910c0144dde789944aae9febd2154e0fe1.tar.gz |
Gary Miller explained about CNAV, and I was enlightened.
Diffstat (limited to 'subframe.c')
-rw-r--r-- | subframe.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); |