Merge branch 'bugfix/c2_ble_deinit_fail' into 'main'

fix c2 nimble deinit fail

See merge request app-frameworks/esp-matter!406
This commit is contained in:
Shu Chen
2023-06-28 12:11:58 +08:00
+1 -1
View File
@@ -867,7 +867,7 @@ static void device_callback_internal(const ChipDeviceEvent * event, intptr_t arg
ESP_LOGE(TAG, "nimble_port_stop() failed");
return;
}
vTaskDelay(100); // TODO: BT-3248
nimble_port_deinit();
#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0)
err = esp_nimble_hci_and_controller_deinit();