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 CommanderRedYT committed Sep 24, 2023
1 parent c573822 commit ac1f8f3
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 @@ -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;
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit ac1f8f3

Please sign in to comment.