TuyaOS
crc_16.h
浏览该文件的文档.
1
9#ifndef _CRC_16_H
10#define _CRC_16_H
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#ifdef __CRC_16_GLOBALS
17#define __CRC_16_MODULE_EXT
18#else
19#define __CRC_16_MODULE_EXT extern
20#endif
21
30__CRC_16_MODULE_EXT \
31unsigned short get_crc_16(unsigned char *data, unsigned short size);
32
33#ifdef __cplusplus
34}
35#endif
36#endif
37
38
unsigned short get_crc_16(unsigned char *data, unsigned short size)
get_crc_16