CM_DOG/User/component/crc8.h
2025-06-26 05:11:10 +08:00

18 lines
198 B
C

/*
N100陀螺仪包头crc8校验
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
uint8_t crc8_calc(const uint8_t *data, uint8_t len);
#ifdef __cplusplus
}
#endif