diff options
author | Keith Packard <keithp@keithp.com> | 2012-06-23 02:23:08 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-23 02:23:08 -0700 |
commit | 566a0c277de01963922cabc80db8ec3a129923bd (patch) | |
tree | 5e1e36dfdc59d1ecd82f850451339b2a74b580b7 | |
parent | 83549f8bde42c3fddbdc817540c869dc8aefd013 (diff) |
altos: fix comment about decoding last byte of FEC data
There aren't *any* forward bits to use when decoding the last byte.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/core/ao_viterbi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ao_viterbi.c b/src/core/ao_viterbi.c index 1b1784b3..17464cd1 100644 --- a/src/core/ao_viterbi.c +++ b/src/core/ao_viterbi.c @@ -120,9 +120,9 @@ ao_fec_decode(uint8_t *in, uint16_t len, uint8_t *out) p = n; /* A loop is needed to handle the last output byte. It - * won't have a full NUM_HIST bits of future data to - * perform full error correction, but we might as well - * give the best possible answer anyways. + * won't have any bits of future data to perform full + * error correction, but we might as well give the + * best possible answer anyways. */ while ((b - o) >= (8 + NUM_HIST) || (i + 2 >= len && b > o)) { |