Skip to content

Commit 0a3cc83

Browse files
author
Zhou Xiao
committed
fix(ble): fixed spi log init failure return value for ESP32
1 parent 80c92ba commit 0a3cc83

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

components/bt/controller/esp32/bt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,7 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
17011701
#if CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED
17021702
if (ble_log_spi_out_init() != 0) {
17031703
ESP_LOGE(BTDM_LOG_TAG, "BLE Log SPI output init failed");
1704+
err = ESP_ERR_NO_MEM;
17041705
goto error;
17051706
}
17061707
#endif // CONFIG_BT_BLE_LOG_SPI_OUT_ENABLED

0 commit comments

Comments
 (0)