bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs

This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
This commit is contained in:
wangmengyang
2023-02-10 20:46:29 +08:00
parent 648b1a41c6
commit 3279b4d41d
7 changed files with 28 additions and 12 deletions

View File

@@ -1297,7 +1297,7 @@ UINT8 L2CA_GetChnlFcrMode (UINT16 lcid)
#endif ///CLASSIC_BT_INCLUDED == TRUE
#if (BLE_INCLUDED == TRUE)
#if (BLE_L2CAP_COC_INCLUDED == TRUE)
/*******************************************************************************
**
** Function L2CA_RegisterLECoc
@@ -1608,7 +1608,7 @@ BOOLEAN L2CA_GetPeerLECocConfig (UINT16 lcid, tL2CAP_LE_CFG_INFO* peer_cfg)
return TRUE;
}
#endif ///BLE_INCLUDED == TRUE
#endif // (BLE_L2CAP_COC_INCLUDED == TRUE)
#if (L2CAP_NUM_FIXED_CHNLS > 0)
/*******************************************************************************