diff --git a/components/bt/controller/esp32h2/bt.c b/components/bt/controller/esp32h2/bt.c index e4f34c5935..86d3e6253d 100644 --- a/components/bt/controller/esp32h2/bt.c +++ b/components/bt/controller/esp32h2/bt.c @@ -146,8 +146,7 @@ extern void r_ble_rtc_wake_up_state_clr(void); extern int os_msys_init(void); extern void os_msys_deinit(void); #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY -extern void r_ble_ll_scan_start_time_init_compensation(uint32_t init_compensation); -extern void r_priv_sdk_config_insert_proc_time_set(uint16_t insert_proc_time); +extern void esp_ble_controller_flash_only_param_config(void); #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY #if CONFIG_FREERTOS_USE_TICKLESS_IDLE extern sleep_retention_entries_config_t *r_esp_ble_mac_retention_link_get(uint8_t *size, uint8_t extra); @@ -1132,8 +1131,7 @@ esp_err_t esp_bt_controller_enable(esp_bt_mode_t mode) #endif // CONFIG_SW_COEXIST_ENABLE #if CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY - r_ble_ll_scan_start_time_init_compensation(500); - r_priv_sdk_config_insert_proc_time_set(500); + esp_ble_controller_flash_only_param_config(); #endif // CONFIG_BT_CTRL_RUN_IN_FLASH_ONLY if (ble_stack_enable() != 0) {