From 757bd7824721d4962c1b7f949830f1f486206fb2 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 +- components/bt/controller/lib_esp32c2/esp32c2-bt-lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/controller/esp32c2/bt.c b/components/bt/controller/esp32c2/bt.c index 45d0628dcb..6b0d593fd8 100644 --- a/components/bt/controller/esp32c2/bt.c +++ b/components/bt/controller/esp32c2/bt.c @@ -424,7 +424,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; } diff --git a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib index 5fcfd0e457..d17188c9f6 160000 --- a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib +++ b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib @@ -1 +1 @@ -Subproject commit 5fcfd0e457a76ebb234086ccd6dc391690d69e90 +Subproject commit d17188c9f61400792a8248bf53378ee92e6f21a4