Skip to content

Commit

Permalink
change: enable pll track by default on ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijian-Espressif authored and espressif-bot committed Oct 26, 2023
1 parent 0c9997c commit c0be439
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/bt/controller/esp32/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit c0be439

Please sign in to comment.