mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 06:54:22 +00:00
feat(ble): add internal api to change ble slow clock source
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "nimble/nimble_npl.h"
|
||||
#include "../../../../controller/esp32c6/esp_bt_cfg.h"
|
||||
#include "hal/efuse_hal.h"
|
||||
#include "esp_private/esp_modem_clock.h"
|
||||
|
||||
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
|
||||
#include "driver/uart.h"
|
||||
@@ -414,6 +415,12 @@ extern int esp_ble_hw_get_static_addr(esp_ble_addr_t *addr);
|
||||
void esp_ble_controller_log_dump_all(bool output);
|
||||
#endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED
|
||||
|
||||
#if CONFIG_PM_ENABLE
|
||||
modem_clock_lpclk_src_t esp_bt_get_lpclk_src(void);
|
||||
|
||||
void esp_bt_set_lpclk_src(modem_clock_lpclk_src_t clk_src);
|
||||
#endif // CONFIG_PM_ENABLE
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user