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:
Tiago Medicci Serrano 2023-10-03 16:58:43 -03:00 committed by Petro Karashchenko
parent 071fb18501
commit 2e93882bcf

View File

@ -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,
stack_depth, param,
prio, task_handle, UINT32_MAX);
prio, task_handle, core_id);
}
/****************************************************************************