pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
6:79d422d1ed42
Parent:
0:f016e9e8d48b
Child:
138:71ed56f2ec50
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){