Vybhav Kadaba
/
EV-PRO-MW1001_dec12
MWARE-1930 fixed
Diff: src/crc16.c
- Revision:
- 5:0728bde67bdb
- Parent:
- 0:85855ecd3257
--- a/src/crc16.c Tue Jun 04 10:09:11 2019 +0000 +++ b/src/crc16.c Wed Jun 05 05:39:15 2019 +0000 @@ -64,7 +64,7 @@ 0x6e17,0x7e36,0x4e55,0x5e74,0x2e93,0x3eb2,0x0ed1,0x1ef0 }; -unsigned short adi_sense_crc16_ccitt(const void *buf, int len) +unsigned short admw_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; } -