File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
components/bt/controller/esp32 Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
4848#include "esp_rom_sys.h"
4949#include "hli_api.h"
5050
51+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
52+ #include "ble_log/ble_log_spi_out.h"
53+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
54+
5155#if CONFIG_BT_ENABLED
5256
5357/* Macro definition
@@ -1686,6 +1690,10 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
16861690 coex_init ();
16871691#endif
16881692
1693+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1694+ ble_log_spi_out_init ();
1695+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1696+
16891697 btdm_cfg_mask = btdm_config_mask_load ();
16901698
16911699 err = btdm_controller_init (btdm_cfg_mask , cfg );
@@ -1713,6 +1721,10 @@ esp_err_t esp_bt_controller_deinit(void)
17131721 return ESP_ERR_INVALID_STATE ;
17141722 }
17151723
1724+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1725+ ble_log_spi_out_deinit ();
1726+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1727+
17161728 btdm_controller_deinit ();
17171729
17181730 bt_controller_deinit_internal ();
You can’t perform that action at this time.
0 commit comments