diff --git a/arch/xtensa/src/esp32/esp32_ble_adapter.c b/arch/xtensa/src/esp32/esp32_ble_adapter.c index 032b959984..334b9a263d 100644 --- a/arch/xtensa/src/esp32/esp32_ble_adapter.c +++ b/arch/xtensa/src/esp32/esp32_ble_adapter.c @@ -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); } /****************************************************************************