esp32/ble: Fix task_create_wrapper CPU core ID passed as argument
The registered `task_create_wrapper` receives the `core_id`, but the current implementation ignores this parameter while calling `esp_task_create_pinned_to_core`. This commit fix this.
This commit is contained in:
parent
071fb18501
commit
2e93882bcf
@ -1565,7 +1565,7 @@ static int task_create_wrapper(void *task_func, const char *name,
|
|||||||
{
|
{
|
||||||
return esp_task_create_pinned_to_core(task_func, name,
|
return esp_task_create_pinned_to_core(task_func, name,
|
||||||
stack_depth, param,
|
stack_depth, param,
|
||||||
prio, task_handle, UINT32_MAX);
|
prio, task_handle, core_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user