change: enable pll track by default on ESP32

This commit is contained in:
zhiweijian 2023-09-06 16:21:25 +08:00 committed by BOT
parent 25a2ff985e
commit a8a9ee9c23

View File

@ -234,6 +234,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;
@ -1721,6 +1722,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();