This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 2e93882bcf esp32/ble: Fix task_create_wrapper CPU core ID passed as argument 2e93882bcf is described below commit 2e93882bcfbbeccb0a8ad4ddffb79f75ab7bc271 Author: Tiago Medicci Serrano <tiago.medi...@espressif.com> AuthorDate: Tue Oct 3 16:58:43 2023 -0300 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. --- arch/xtensa/src/esp32/esp32_ble_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /****************************************************************************