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.
Fork of Babyseat_NewFirmware_copy_sean by
Diff: src/crc16.c
- Revision:
- 28:4eb837cd71df
- Parent:
- 26:12d0204be712
diff -r 12d0204be712 -r 4eb837cd71df src/crc16.c
--- 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;
}
-
