Skip to content

Commit 6ac541a

Browse files
author
Zhou Xiao
committed
fix(ble): fixed controller log api call for ESP32-C3/ESP32-S3
1 parent 0088541 commit 6ac541a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/bt/controller/esp32c3/Kconfig.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ menu "Controller debug log Options (Experimental)"
599599
depends on BT_CTRL_LE_LOG_EN
600600
depends on !BT_CTRL_LE_LOG_DUMP_ONLY
601601
select BT_BLE_LOG_SPI_OUT_ENABLED
602+
select BT_BLE_LOG_SPI_OUT_LL_ENABLED
602603
default n
603604
help
604605
Output ble controller logs to SPI bus

components/bt/controller/esp32c3/bt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
551551
#if CONFIG_BT_CTRL_LE_LOG_SPI_OUT_EN
552552
static IRAM_ATTR void esp_bt_controller_spi_log_interface(uint32_t len, const uint8_t *addr, bool end)
553553
{
554-
ble_log_spi_out_write(BLE_LOG_SPI_OUT_SOURCE_ESP_LEGACY, addr, len);
554+
ble_log_spi_out_ll_write(len, addr, 0, NULL, 0);
555555
}
556556
#endif // CONFIG_BT_CTRL_LE_LOG_SPI_OUT_EN
557557

0 commit comments

Comments
 (0)