From c3cfc82716cbe9d2dc9d69b41c3c49b53d82a4b5 Mon Sep 17 00:00:00 2001 From: Shi Xin Ke Date: Wed, 28 Jun 2023 12:11:58 +0800 Subject: [PATCH] fix c2 nimble deinit fail --- components/esp_matter/esp_matter_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_matter/esp_matter_core.cpp b/components/esp_matter/esp_matter_core.cpp index 38ff3c437..2f2e66f87 100644 --- a/components/esp_matter/esp_matter_core.cpp +++ b/components/esp_matter/esp_matter_core.cpp @@ -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();