mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
component/hli: Fix hli queue send error
This commit is contained in:
@@ -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)
|
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);
|
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)
|
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);
|
return hli_queue_put(queue, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Submodule components/bt/lib updated: 66de1f426a...5aad1d330c
Reference in New Issue
Block a user