From c0be439b9279b0046dc7d13090e076ba71ff0df6 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 d2044665950c..c1417435b308 100644 --- a/components/bt/controller/esp32/bt.c +++ b/components/bt/controller/esp32/bt.c @@ -233,6 +233,7 @@ extern int coex_wifi_channel_get(uint8_t *primary, uint8_t *secondary); extern int coex_register_wifi_channel_change_callback(void *cb); /* 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; @@ -1457,6 +1458,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();