ENEL400 / Mbed 2 deprecated Aloha

Dependencies:   SX1276Lib mbed

Fork of SX1276PingPong by Semtech

Revision:
15:f790f35839db
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/crc.h	Tue May 31 09:52:21 2016 +0000
@@ -0,0 +1,12 @@
+#ifndef CRC_H_
+#define CRC_H_
+
+#include "stdint.h"
+
+/**
+ * Return CRC-8 of the data, using x^8 + x^2 + x + 1 polynomial.
+ * Reference: https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master/firmware/lib/crc8.c 
+ */
+uint8_t crc8(const uint8_t *data, int len);
+
+#endif
\ No newline at end of file