diff --git a/components/bt/bt.c b/components/bt/bt.c index 0fc8e4a480..0409197ae1 100644 --- a/components/bt/bt.c +++ b/components/bt/bt.c @@ -484,6 +484,7 @@ static int32_t IRAM_ATTR semphr_take_from_isr_wrapper(void *semphr, void *hptw) static int32_t IRAM_ATTR semphr_give_from_isr_wrapper(void *semphr, void *hptw) { + assert(xPortGetCoreID() == CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE); return hli_semaphore_give(semphr); } @@ -562,6 +563,7 @@ static int32_t queue_send_hlevel_wrapper(void *queue, void *item, uint32_t block static int32_t IRAM_ATTR queue_send_from_isr_hlevel_wrapper(void *queue, void *item, void *hptw) { + assert(xPortGetCoreID() == CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE); return hli_queue_put(queue, item); } diff --git a/components/bt/lib b/components/bt/lib index 66de1f426a..5aad1d330c 160000 --- a/components/bt/lib +++ b/components/bt/lib @@ -1 +1 @@ -Subproject commit 66de1f426a8f8ce7ba5e064c3652b6816e6977bc +Subproject commit 5aad1d330c1a92e6a14b5008bb75665c92a4521c