File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
components/bt/controller/esp32c3 Expand file tree Collapse file tree 1 file changed +12
-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 */
4949#else //CONFIG_IDF_TARGET_ESP32S3
5050#include "esp32s3/rom/rom_layout.h"
5151#endif
52+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
53+ #include "ble_log/ble_log_spi_out.h"
54+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
5255#if CONFIG_BT_ENABLED
5356
5457/* Macro definition
@@ -1446,6 +1449,10 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
14461449 coex_init ();
14471450#endif
14481451
1452+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1453+ ble_log_spi_out_init ();
1454+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1455+
14491456 periph_module_enable (PERIPH_BT_MODULE );
14501457 periph_module_reset (PERIPH_BT_MODULE );
14511458
@@ -1474,6 +1481,10 @@ esp_err_t esp_bt_controller_deinit(void)
14741481 return ESP_ERR_INVALID_STATE ;
14751482 }
14761483
1484+ #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1485+ ble_log_spi_out_deinit ();
1486+ #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
1487+
14771488 btdm_controller_deinit ();
14781489
14791490 bt_controller_deinit_internal ();
You can’t perform that action at this time.
0 commit comments