From deebad0bbedfc91b721273d1859074aeeb038573 Mon Sep 17 00:00:00 2001 From: Zhou Xiao Date: Tue, 8 Jul 2025 13:15:24 +0800 Subject: [PATCH] fix(ble): update error code in controller init for ESP32-S3/ESP32-C3 (cherry picked from commit b8b7e153a70e03e42d82f4a7c80bd84706378563) Co-authored-by: Zhou Xiao --- 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 aad745f30f..a0e31c15de 100644 --- a/components/bt/controller/esp32c3/bt.c +++ b/components/bt/controller/esp32c3/bt.c @@ -1810,6 +1810,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