From a5c50a4f262f0a880734623f79d4dc2f1aa8a0a2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 13 Aug 2019 10:29:39 +0200 Subject: Pull in files from odr-mmbtools-common Replace ASIO by simpler implementation, meaning that the telnet RC now only supports a single connection. Move Log, RC to lib/ --- lib/crc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/crc.c') 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++)]; } -- cgit v1.2.3