Skip to content

Commit

Permalink
Merge branch 'feature/add_api_to_enable_pll_track' into 'master'
Browse files Browse the repository at this point in the history
Enable pll track by default on ESP32

See merge request espressif/esp-idf!25799
  • Loading branch information
jack0c committed Sep 8, 2023
2 parents 31e37c8 + 5d8873f commit 0fd57f4
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 0fd57f4

Please sign in to comment.