mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fixed bluedroid host build warning when log is disabled
This commit is contained in:
parent
a6bcdf9637
commit
fbf871a611
@ -405,6 +405,7 @@ static void command_timed_out(void *context)
|
|||||||
{
|
{
|
||||||
hci_cmd_metadata_t *metadata = (hci_cmd_metadata_t *)(wait_entry->data);
|
hci_cmd_metadata_t *metadata = (hci_cmd_metadata_t *)(wait_entry->data);
|
||||||
HCI_TRACE_ERROR("%s hci layer timeout waiting for response to a command. opcode: 0x%x", __func__, metadata->opcode);
|
HCI_TRACE_ERROR("%s hci layer timeout waiting for response to a command. opcode: 0x%x", __func__, metadata->opcode);
|
||||||
|
UNUSED(metadata);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -807,6 +807,7 @@ void l2cble_process_sig_cmd (tL2C_LCB *p_lcb, UINT8 *p, UINT16 pkt_len)
|
|||||||
STREAM_TO_UINT16(mps, p);
|
STREAM_TO_UINT16(mps, p);
|
||||||
STREAM_TO_UINT16(credits, p);
|
STREAM_TO_UINT16(credits, p);
|
||||||
L2CAP_TRACE_DEBUG("%s spsm %x, scid %x", __func__, spsm, scid);
|
L2CAP_TRACE_DEBUG("%s spsm %x, scid %x", __func__, spsm, scid);
|
||||||
|
UNUSED(spsm);
|
||||||
|
|
||||||
p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, scid);
|
p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, scid);
|
||||||
if (p_ccb) {
|
if (p_ccb) {
|
||||||
|
Loading…
Reference in New Issue
Block a user