![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ADISense1000 Version 2.1 code base
Fork of AdiSense1000_V21 by
Diff: src/crc16.c
- Revision:
- 28:4eb837cd71df
- Parent:
- 26:12d0204be712
--- a/src/crc16.c Mon Mar 26 14:50:05 2018 +0000 +++ b/src/crc16.c Thu May 17 10:34:45 2018 +0100 @@ -64,7 +64,7 @@ 0x6e17,0x7e36,0x4e55,0x5e74,0x2e93,0x3eb2,0x0ed1,0x1ef0 }; -unsigned short crc16_ccitt(const void *buf, int len) +unsigned short adi_sense_crc16_ccitt(const void *buf, int len) { register int counter; register unsigned short crc = 0; @@ -73,4 +73,3 @@ crc = (crc<<8) ^ crc16tab[((crc>>8) ^ *(char *)pBuf++)&0x00FF]; return crc; } -