![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Repo for COM_MNG_TMTC_SIMPLE for integration with adf
Fork of COM_MNG_TMTC_SIMPLE by
Diff: crc.h
- Revision:
- 6:79d422d1ed42
- Parent:
- 0:f016e9e8d48b
- Child:
- 8:d1951bbdcdd8
diff -r ab276a17ca07 -r 79d422d1ed42 crc.h --- 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){