Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SX1276PingPong by
Diff: crc.h
- Revision:
- 16:c3c6b13c3c42
- Parent:
- 15:f790f35839db
--- a/crc.h Tue May 31 09:52:21 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#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