Skip to content

Commit b8b7e15

Browse files
author
Zhou Xiao
committed
fix(ble): update error code in controller init for ESP32-S3/ESP32-C3
1 parent 6ac541a commit b8b7e15

File tree

1 file changed

+1
-0
lines changed
  • components/bt/controller/esp32c3

1 file changed

+1
-0
lines changed

components/bt/controller/esp32c3/bt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,7 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
18091809
#if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
18101810
if (ble_log_spi_out_init() != 0) {
18111811
ESP_LOGE(BT_LOG_TAG, "BLE Log SPI output init failed");
1812+
err = ESP_ERR_NO_MEM;
18121813
goto error;
18131814
}
18141815
#endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED

0 commit comments

Comments
 (0)