diff --git a/chipset/em9301/btstack_chipset_em9301.c b/chipset/em9301/btstack_chipset_em9301.c index 8aed4a5c4..69d13bc1d 100644 --- a/chipset/em9301/btstack_chipset_em9301.c +++ b/chipset/em9301/btstack_chipset_em9301.c @@ -82,25 +82,6 @@ static const uint32_t baudrates[] = { 1843200, }; -#if 0 -// crc32 from 802.3 without table lookup to minimize code -uint32_t crc32(const uint8_t *data, uint16_t len) { - int i, j; - uint32_t byte, crc, mask; - crc = 0xFFFFFFFF; - for (i=0;i= 0; j--) { - mask = -(crc & 1); - crc = (crc >> 1) ^ (0xEDB88320 & mask); - } - i = i + 1; - } - return ~crc; -} -#endif - #ifdef HAVE_EM9304_PATCH_CONTAINER extern const uint8_t container_blob_data[];