Skip to content

Commit

Permalink
Fixed bluedroid host build warning when log is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijian-Espressif authored and espressif-bot committed Oct 26, 2023
1 parent a6bcdf9 commit fbf871a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/bt/host/bluedroid/hci/hci_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ static void command_timed_out(void *context)
{
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);
UNUSED(metadata);
}
}

Expand Down
1 change: 1 addition & 0 deletions components/bt/host/bluedroid/stack/l2cap/l2c_ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(credits, p);
L2CAP_TRACE_DEBUG("%s spsm %x, scid %x", __func__, spsm, scid);
UNUSED(spsm);

p_ccb = l2cu_find_ccb_by_remote_cid(p_lcb, scid);
if (p_ccb) {
Expand Down

0 comments on commit fbf871a

Please sign in to comment.