change: enable pll track by default on ESP32

This commit is contained in:
zhiweijian
2023-09-06 16:21:25 +08:00
parent 39674d11e0
commit b13e24f26c

View File

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