mirror of
https://github.com/xboot/xrock.git
synced 2024-11-23 01:44:46 +08:00
17 lines
216 B
C
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__ */
|