fix(bt/controller): Change level of BLE interrupt to avoid allocation failure

This commit is contained in:
chenjianhua 2024-07-18 14:10:33 +08:00
parent ce8dd3997d
commit 84657b9d74

View File

@ -495,7 +495,7 @@ static int interrupt_alloc_wrapper(int cpu_id, int source, intr_handler_t handle
{
btdm_isr_alloc_t p;
p.source = source;
p.flags = ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM;
p.flags = ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM;
p.fn = handler;
p.arg = arg;
p.handle = (intr_handle_t *)ret_handle;