From 9885fb2da1a71e5ecca646e3bc132b0f07a0ebda Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 18 Nov 2021 21:10:50 +0100 Subject: [PATCH] hci: fix unused warning --- src/hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hci.c b/src/hci.c index c88a72407..24ee8a0e7 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1142,10 +1142,12 @@ bool hci_non_flushable_packet_boundary_flag_supported(void){ return (hci_stack->local_supported_features[6u] & (1u << 6u)) != 0u; } +#ifdef ENABLE_CLASSIC static int gap_ssp_supported(void){ // No. 51, byte 6, bit 3 return (hci_stack->local_supported_features[6u] & (1u << 3u)) != 0u; } +#endif static int hci_classic_supported(void){ #ifdef ENABLE_CLASSIC