#ifndef CRC16_H #define CRC16_H #ifdef __cplusplus extern "C" { #endif unsigned short GetCRC16(unsigned char *puchMsg, unsigned short usDataLen, unsigned short first); #ifdef __cplusplus } #endif #endif