Files
Gimbal/modules/algorithm/crc8.h
T
2026-05-29 17:36:34 +08:00

12 lines
197 B
C

#ifndef __CRC8_H
#define __CRC8_H
#include "main.h"
#define CRC_START_8 0x00
uint8_t crc_8(const uint8_t *input_str, uint16_t num_bytes);
uint8_t update_crc_8(uint8_t crc, uint8_t val);
#endif