altos: fix comment about decoding last byte of FEC data
[fw/altos] / src / core / ao_viterbi.c
index 1b1784b3d3b3e6abbc22939134b734200d5a9516..17464cd1df3fd94cbf3a80638e2d17890a9cd901 100644 (file)
@@ -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)) {