mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
Logically dead code
This commit is contained in:
@@ -1715,13 +1715,9 @@ BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda, tBLE_ADDR_TYPE
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#if BLE_INCLUDED == TRUE
|
||||
(*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb)
|
||||
(fixed_cid, p_lcb->remote_bd_addr, TRUE, 0, p_lcb->transport);
|
||||
#else
|
||||
(*l2cb.fixed_reg[fixed_cid - L2CAP_FIRST_FIXED_CHNL].pL2CA_FixedConn_Cb)
|
||||
(fixed_cid, p_lcb->remote_bd_addr, TRUE, 0, BT_TRANSPORT_BR_EDR);
|
||||
#endif
|
||||
(fixed_cid, p_lcb->remote_bd_addr, TRUE, 0, transport);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user