From 5d8873f2d854b9cd817f4b2b1fbd4885eff56d68 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Wed, 6 Sep 2023 16:21:25 +0800 Subject: [PATCH] change: enable pll track by default on ESP32 --- components/bt/controller/esp32/bt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/bt/controller/esp32/bt.c b/components/bt/controller/esp32/bt.c index ca923f450492..64a08dc6e23b 100644 --- a/components/bt/controller/esp32/bt.c +++ b/components/bt/controller/esp32/bt.c @@ -220,6 +220,7 @@ extern void bredr_sco_datapath_set(uint8_t data_path); extern void btdm_controller_scan_duplicate_list_clear(void); /* Shutdown */ extern void esp_bt_controller_shutdown(void); +extern void sdk_config_set_bt_pll_track_enable(bool enable); extern char _bss_start_btdm; extern char _bss_end_btdm; @@ -1677,6 +1678,8 @@ esp_err_t esp_bt_controller_enable(esp_bt_mode_t mode) btdm_controller_enable_sleep(true); } + sdk_config_set_bt_pll_track_enable(true); + // inititalize bluetooth baseband btdm_check_and_init_bb();