From 0825981026c037ea7bd7c51656f5b6639dfd9ace Mon Sep 17 00:00:00 2001 From: xiongweichao Date: Tue, 26 Apr 2022 11:37:48 +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 a061f08f9b..0140e5ea69 100644 --- a/components/bt/host/bluedroid/stack/btu/btu_hcif.c +++ b/components/bt/host/bluedroid/stack/btu/btu_hcif.c @@ -1459,6 +1459,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 @@ -1823,6 +1828,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); }