CDMS_CODE_samp_23SEP_DMA_flag
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA by
Diff: crc.h
- Revision:
- 206:fba4aeebf004
- Parent:
- 6:79d422d1ed42
diff -r 5f75962ae7ea -r fba4aeebf004 crc.h --- a/crc.h Wed Jun 29 14:17:34 2016 +0000 +++ b/crc.h Thu Jun 30 14:00:33 2016 +0000 @@ -7,7 +7,7 @@ #define POLYNOMIAL16 0x1021 #define POLYNOMIAL8 0x07 -typedef uint16_t crctype16; +typedef uint16_t crctype16; crctype16 crc16_gen(const unsigned char message[], unsigned int nBytes){ crctype16 remainder = 0xffff; int byte;