diff --git a/arch/risc-v/src/bl602/bl602_os_hal.c b/arch/risc-v/src/bl602/bl602_os_hal.c index 6ab0e43c34..011dd1bd8b 100644 --- a/arch/risc-v/src/bl602/bl602_os_hal.c +++ b/arch/risc-v/src/bl602/bl602_os_hal.c @@ -325,7 +325,7 @@ int bl_os_task_create(const char *name, uint32_t prio, void *task_handle) { - return nxtask_create(name, prio, stack_depth, entry, (char **)¶m); + return kthread_create(name, prio, stack_depth, entry, (char **)¶m); } /****************************************************************************