From 1398605873cba87692a71463d84d71d68ee073ac 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 25594c3ec5..7418749901 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 1135aac175..6b17763338 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;