From b66fcf54c174e486564ec7bd96e1e754d22e938f Mon Sep 17 00:00:00 2001 From: Zhou Xiao Date: Fri, 27 Jun 2025 15:58:08 +0800 Subject: [PATCH] fix(ble): update error code in controller init for ESP32-S3/ESP32-C3 --- components/bt/controller/esp32c3/bt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/controller/esp32c3/bt.c b/components/bt/controller/esp32c3/bt.c index 10f606d2da..106fc47a5b 100644 --- a/components/bt/controller/esp32c3/bt.c +++ b/components/bt/controller/esp32c3/bt.c @@ -1807,6 +1807,7 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg) #if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED if (ble_log_spi_out_init() != 0) { ESP_LOGE(BT_LOG_TAG, "BLE Log SPI output init failed"); + err = ESP_ERR_NO_MEM; goto error; } #endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED