component/bt: Set the style to the same, output the macro in the function.

1.After the separate, can save 15k~25k ram & 240k~460k code size(depending on the menuconfig).
This commit is contained in:
Yulong
2017-04-24 23:46:37 -04:00
parent 2cfde4dfd9
commit 45999b69d6
21 changed files with 280 additions and 198 deletions

View File

@@ -2032,6 +2032,7 @@ tBTM_STATUS BTM_VendorSpecificCommand(UINT16 opcode,
**
*******************************************************************************/
//extern
#if (CLASSIC_BT_INCLUDED == TRUE)
UINT8 BTM_AllocateSCN(void);
// btla-specific ++
@@ -2060,6 +2061,7 @@ BOOLEAN BTM_TryAllocateSCN(UINT8 scn);
*******************************************************************************/
//extern
BOOLEAN BTM_FreeSCN(UINT8 scn);
#endif ///CLASSIC_BT_INCLUDED == TRUE
/*******************************************************************************