Merge branch 'feat/get_ble_resolve_address_status_v5.1' into 'release/v5.1'

feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.1)

See merge request espressif/esp-idf!33806
This commit is contained in:
Island
2024-10-29 16:03:38 +08:00
7 changed files with 32 additions and 7 deletions

View File

@@ -1436,7 +1436,10 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
periph_module_enable(PERIPH_BT_MODULE);
periph_module_reset(PERIPH_BT_MODULE);
if (btdm_controller_init(cfg) != 0) {
err = btdm_controller_init(cfg);
if (err != 0) {
ESP_LOGE(BT_LOG_TAG, "%s %d\n",__func__,err);
err = ESP_ERR_NO_MEM;
goto error;
}