From 1ce01c6f76a1e32a32a81477d3d601c56b0b49b1 Mon Sep 17 00:00:00 2001 From: xiongweichao Date: Mon, 25 Apr 2022 18:35:22 +0800 Subject: [PATCH] Fix CI failure when disable bluetooth debug log --- components/bt/host/bluedroid/stack/btu/btu_hcif.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/bt/host/bluedroid/stack/btu/btu_hcif.c b/components/bt/host/bluedroid/stack/btu/btu_hcif.c index 6abbdedb7b..a64d5da0f8 100644 --- a/components/bt/host/bluedroid/stack/btu/btu_hcif.c +++ b/components/bt/host/bluedroid/stack/btu/btu_hcif.c @@ -1598,6 +1598,11 @@ static void btu_hcif_ssr_evt_dump (UINT8 *p, UINT16 evt_len) STREAM_TO_UINT16 (max_tx_lat, p); STREAM_TO_UINT16 (max_rx_lat, p); + UNUSED(status); + UNUSED(handle); + UNUSED(max_tx_lat); + UNUSED(max_rx_lat); + HCI_TRACE_WARNING("hcif ssr evt: st 0x%x, hdl 0x%x, tx_lat %d rx_lat %d", status, handle, max_tx_lat, max_rx_lat); } #endif @@ -1962,6 +1967,9 @@ static void btu_hcif_link_supv_to_changed_evt (UINT8 *p) STREAM_TO_UINT16(handle, p); STREAM_TO_UINT16(supv_to, p); + UNUSED(handle); + UNUSED(supv_to); + HCI_TRACE_WARNING("hcif link supv_to changed: hdl 0x%x, supv_to %d", handle, supv_to); }