Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: src/crc16.c
- Revision:
- 5:0728bde67bdb
- Parent:
- 0:85855ecd3257
diff -r 2ca06eee5735 -r 0728bde67bdb src/crc16.c
--- 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;
}
-