![](/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:
- 8:d1951bbdcdd8
- Parent:
- 6:79d422d1ed42
diff -r 4e744637b2e8 -r d1951bbdcdd8 crc.h --- a/crc.h Thu Dec 31 08:25:11 2015 +0000 +++ b/crc.h Thu Dec 31 08:39:43 2015 +0000 @@ -5,7 +5,7 @@ #define TOPBIT16 (1 << 15) #define TOPBIT8 (1 << 7) #define POLYNOMIAL16 0x1021 -#define POLYNOMIAL8 0x07 +#define POLYNOMIAL8 0xEA typedef uint16_t crctype16; crctype16 crc16_gen(const unsigned char message[], unsigned int nBytes){