Skip to content

Commit f694743

Browse files
committed
fixup! crc: Add support for crc16
1 parent 1a89099 commit f694743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* CRC32 code derived from work by Gary S. Brown.
4343
*/
4444

45-
#include <utils/crc32.h>
45+
#include <utils/crc.h>
4646

4747
const uint32_t crc32_tab[] = {
4848
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
@@ -761,4 +761,4 @@ uint16_t crc16_itu_t(uint16_t seed, const uint8_t *src, size_t len)
761761
seed ^= (seed & 0xffU) << 5U;
762762
}
763763
return seed;
764-
}
764+
}

0 commit comments

Comments
 (0)