lkdsnf;
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE_PL_Working by
Diff: crc.h
- Revision:
- 6:79d422d1ed42
- Parent:
- 0:f016e9e8d48b
- Child:
- 138:71ed56f2ec50
--- a/crc.h Wed Dec 30 06:36:38 2015 +0000 +++ b/crc.h Thu Dec 31 06:43:13 2015 +0000 @@ -5,7 +5,7 @@ #define TOPBIT16 (1 << 15) #define TOPBIT8 (1 << 7) #define POLYNOMIAL16 0x1021 -#define POLYNOMIAL8 0xEA +#define POLYNOMIAL8 0x07 typedef uint16_t crctype16; crctype16 crc16_gen(const unsigned char message[], unsigned int nBytes){