summaryrefslogtreecommitdiff
path: root/nuttx/libc/wqueue/work_usrstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/wqueue/work_usrstart.c')
-rw-r--r--nuttx/libc/wqueue/work_usrstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/wqueue/work_usrstart.c b/nuttx/libc/wqueue/work_usrstart.c
index 068c016d1..00264cbe8 100644
--- a/nuttx/libc/wqueue/work_usrstart.c
+++ b/nuttx/libc/wqueue/work_usrstart.c
@@ -93,7 +93,7 @@ int work_usrstart(void)
svdbg("Starting user-mode worker thread\n");
- g_usrwork[USRWORK].pid = TASK_CREATE("usrwork",
+ g_usrwork[USRWORK].pid = task_create("usrwork",
CONFIG_SCHED_USRWORKPRIORITY,
CONFIG_SCHED_USRWORKSTACKSIZE,
(main_t)work_usrthread,