Closed invano closed 5 years ago
Commits 2f0a449 and 21ad641 introduced variable loc to act as a pointer while building the pattern. The loop consuming the CRC bytes uses i instead, causing loc to always be equal to 32. If loc==32 then both CRC16 and tail bytes are skipped.
loc
i
loc==32
thank you!
Commits 2f0a449 and 21ad641 introduced variable
loc
to act as a pointer while building the pattern. The loop consuming the CRC bytes usesi
instead, causingloc
to always be equal to 32. Ifloc==32
then both CRC16 and tail bytes are skipped.