component/bt: add conditional compilation direvatives to control the source code building of classic bluetooth
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "a2d_int.h"
|
||||
#include "avdt_api.h"
|
||||
|
||||
#if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE)
|
||||
|
||||
/*****************************************************************************
|
||||
** Global data
|
||||
*****************************************************************************/
|
||||
@@ -393,3 +395,4 @@ void A2D_Init(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE) */
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include "a2d_sbc.h"
|
||||
#include "bt_utils.h"
|
||||
|
||||
#if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE)
|
||||
|
||||
/*************************************************************************************************
|
||||
* SBC descramble code
|
||||
* Purpose: to tie the SBC code with BTE/mobile stack code,
|
||||
@@ -397,3 +399,4 @@ void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* #if (defined(A2D_INCLUDED) && A2D_INCLUDED == TRUE) */
|
||||
|
||||
Reference in New Issue
Block a user