commit | 9bd2c9ffe7cf82c5d0a12406db018717d9b78858 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Fri May 11 20:48:31 2018 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Fri May 11 20:48:31 2018 +0200 |
tree | 9e5700f3f5444aedc217ccab745882ef147a94fa | |
parent | d3941c6a982f67fa0012bde2a317bd6d6da0e98f [diff] |
HACK to make CRC4 computation work * reverse bit-order of every input byte when computing CRC4 * reverse bit-order of CRC4 value we receive in TS0 bits I don't really understand why, but this makes the CRC check pass. We probably need another table if we want to avoid this.