From 314aa2cc765a75988e01bdb1bd304e85842411ee Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 13 Apr 2022 09:28:29 +0200 Subject: [PATCH] hci: fix build without ENABLE_LE_CENTRAL --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index 9fa4cfa28..7b9c13292 100644 --- a/src/hci.c +++ b/src/hci.c @@ -209,11 +209,11 @@ static void hci_trigger_remote_features_for_connection(hci_connection_t * connec #endif #ifdef ENABLE_BLE +static void hci_whitelist_free(void); #ifdef ENABLE_LE_CENTRAL // called from test/ble_client/advertising_data_parser.c void le_handle_advertisement_report(uint8_t *packet, uint16_t size); static uint8_t hci_whitelist_remove(bd_addr_type_t address_type, const bd_addr_t address); -static void hci_whitelist_free(void); static hci_connection_t * gap_get_outgoing_connection(void); static void hci_le_scan_stop(void); static bool hci_run_general_gap_le(void);