pull/3/head
Wang Yaofu 4 years ago committed by GitHub
parent 4b1aa6d7af
commit 348a49db75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,19 @@
#ifndef _CRC_CRC8_H
#define _CRC_CRC8_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// LSB-first
uint8_t crc8_lsb(const char *buf, int len);
// MSB-first
uint8_t crc8_msb(const char *buf, int len);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
Loading…
Cancel
Save