Implementation of CRC16 using polynomial 0x8005 = X^16 + X^15 + X^2 + 1

Dependents:   Manchester_Transmitter Manchester_Receiver ManchesterUART_Transmitter ManchesterUART_Receiver

Fork of CRC16 by Emilie Laverge

Revision:
2:a01521fb2fe1
Parent:
1:352debdce7b3
Child:
3:3f5622979e77
--- a/CRC16.h	Thu May 18 10:44:35 2017 +0000
+++ b/CRC16.h	Mon May 22 09:32:41 2017 +0000
@@ -16,6 +16,6 @@
 public:
     CRC16(void) { };
     ~CRC16(void){ };
-    unsigned short  calc(char input[], int lenght);
+    unsigned short  calc(char input[], int length);
 };
 #endif // CRC16_H