From f226e75f4b1fc72d4c0508b0ddbd226c49816415 Mon Sep 17 00:00:00 2001 From: Geng Yuchao Date: Mon, 3 Jul 2023 14:21:02 +0800 Subject: [PATCH] fix(ci): Fix declaration isn't a prototype issue --- components/bt/controller/esp32c6/bt.c | 2 +- components/bt/controller/esp32h2/bt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/controller/esp32c6/bt.c b/components/bt/controller/esp32c6/bt.c index d508a42434..424198660d 100644 --- a/components/bt/controller/esp32c6/bt.c +++ b/components/bt/controller/esp32c6/bt.c @@ -665,7 +665,7 @@ int ble_vhci_disc_duplicate_set_period_refresh_time(int refresh_period_time){ /** * @brief Config scan duplicate option mode from menuconfig (Adapt to the old configuration method.) */ -void ble_controller_scan_duplicate_config() +void ble_controller_scan_duplicate_config(void) { uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT; uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE; diff --git a/components/bt/controller/esp32h2/bt.c b/components/bt/controller/esp32h2/bt.c index 1ee211976b..a05f6d4d8e 100644 --- a/components/bt/controller/esp32h2/bt.c +++ b/components/bt/controller/esp32h2/bt.c @@ -631,7 +631,7 @@ int ble_vhci_disc_duplicate_set_period_refresh_time(int refresh_period_time){ /** * @brief Config scan duplicate option mode from menuconfig (Adapt to the old configuration method.) */ -void ble_controller_scan_duplicate_config() +void ble_controller_scan_duplicate_config(void) { uint32_t duplicate_mode = FILTER_DUPLICATE_DEFAULT; uint32_t cache_size = CONFIG_BT_LE_SCAN_DUPL_CACHE_SIZE;