mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
add vision protocol
This commit is contained in:
11
modules/algorithm/crc8.h
Normal file
11
modules/algorithm/crc8.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user