aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crc.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-10-07 04:52:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-10-07 04:52:50 +0200
commit0aa6201a490bfabc0ae021ceb9f1fb0f46727c5d (patch)
treea71d934d8151dd43e7c16555fef17fd749c5da70 /lib/crc.c
parent558d74bffd9f069955af52c0b308a1d6169bcff0 (diff)
parent0330221d51421caa110b8c5dcb567cc3d0620eb9 (diff)
downloaddabmod-0aa6201a490bfabc0ae021ceb9f1fb0f46727c5d.tar.gz
dabmod-0aa6201a490bfabc0ae021ceb9f1fb0f46727c5d.tar.bz2
dabmod-0aa6201a490bfabc0ae021ceb9f1fb0f46727c5d.zip
Merge lime output into next branch
Diffstat (limited to 'lib/crc.c')
-rw-r--r--lib/crc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/crc.c b/lib/crc.c
index 0c70263..cc02473 100644
--- a/lib/crc.c
+++ b/lib/crc.c
@@ -248,7 +248,6 @@ uint16_t crc16(uint16_t l_crc, const void *lp_data, unsigned l_nb)
{
const uint8_t* data = (const uint8_t*)lp_data;
while (l_nb--) {
- //fprintf(stdout, "crc 0x%02x 0x%04x\n", *data, l_crc);
l_crc =
(l_crc << 8) ^ crc16tab[(l_crc >> 8) ^ *(data++)];
}