xrock/crc16.h
2021-08-03 16:34:01 +08:00

17 lines
216 B
C

#ifndef __CRC16_H__
#define __CRC16_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <x.h>
uint16_t crc16_sum(uint16_t crc, const uint8_t * buf, int len);
#ifdef __cplusplus
}
#endif
#endif /* __CRC16_H__ */