From 9806a1e7e2b5e113c712bea8c4ac6fae09bee878 Mon Sep 17 00:00:00 2001 From: luomanruo Date: Mon, 21 Aug 2023 10:44:27 +0800 Subject: [PATCH] update btlib to f9db7b90, some esp32c2 issues bugfixed --- components/bt/controller/esp32c2/bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/controller/esp32c2/bt.c b/components/bt/controller/esp32c2/bt.c index 5d241bce9d..e9c4f119fc 100644 --- a/components/bt/controller/esp32c2/bt.c +++ b/components/bt/controller/esp32c2/bt.c @@ -417,7 +417,7 @@ static int ble_hci_unregistered_hook(void*, void*) static int esp_intr_alloc_wrapper(int source, int flags, intr_handler_t handler, void *arg, void **ret_handle_in) { - int rc = esp_intr_alloc(source, flags | ESP_INTR_FLAG_IRAM, handler, arg, (intr_handle_t *)ret_handle_in); + int rc = esp_intr_alloc(source, ESP_INTR_FLAG_LEVEL3 | ESP_INTR_FLAG_IRAM, handler, arg, (intr_handle_t *)ret_handle_in); return rc; }