mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-27 23:37:25 +00:00
freertos: fix error message when xEventGroupSetBitsFromISR not defined, actually use it
This commit is contained in:
parent
9000f9159a
commit
3b1180c97a
@ -136,7 +136,8 @@ void btstack_run_loop_freertos_execute_code_on_main_thread(void (*fn)(void *arg)
|
||||
|
||||
#if (INCLUDE_xEventGroupSetBitFromISR == 1)
|
||||
void btstack_run_loop_freertos_trigger_from_isr(void){
|
||||
xEventGroupSetBits(btstack_run_loop_event_group, EVENT_GROUP_FLAG_RUN_LOOP);
|
||||
BaseType_t xHigherPriorityTaskWoken;
|
||||
xEventGroupSetBitsFromISR(btstack_run_loop_event_group, EVENT_GROUP_FLAG_RUN_LOOP, &xHigherPriorityTaskWoken);
|
||||
}
|
||||
|
||||
void btstack_run_loop_freertos_execute_code_on_main_thread_from_isr(void (*fn)(void *arg), void * arg){
|
||||
|
Loading…
x
Reference in New Issue
Block a user