component/bt: add conditional compilation direvatives to control the source code building of classic bluetooth

This commit is contained in:
wangmengyang
2017-03-17 15:08:47 +08:00
parent b2f52dd22e
commit fda2e89a1e
46 changed files with 188 additions and 277 deletions

View File

@@ -33,6 +33,8 @@
#include "avct_api.h"
#include "avct_int.h"
#if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE)
/* Control block for AVCT */
#if AVCT_DYNAMIC_MEMORY == FALSE
tAVCT_CB avct_cb;
@@ -471,3 +473,4 @@ UINT16 AVCT_MsgReq(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR *p_msg)
return result;
}
#endif /* #if (defined(AVCT_INCLUDED) && AVCT_INCLUDED == TRUE) */