0ad3017df7
1. move btif and A2DP source code from project directory to bluetooth directory; 2. some updates of audio source code;
28 lines
593 B
C
28 lines
593 B
C
/**
|
|
**************************************************************************************
|
|
* @file crc.h
|
|
* @brief Calculate CRC Value
|
|
*
|
|
* @author Aissen Li
|
|
* @version V1.0.0
|
|
*
|
|
* © Shanghai Mountain View Silicon Technology Co.,Ltd. All rights reserved.
|
|
**************************************************************************************
|
|
*/
|
|
|
|
#ifndef __CRC_H__
|
|
#define __CRC_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif//__cplusplus
|
|
|
|
#include <stdint.h>
|
|
|
|
uint16_t GetCRC16NBS(uint8_t* data, uint32_t length);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif//__cplusplus
|
|
|
|
#endif//__CRC_H__
|