summaryrefslogtreecommitdiff
path: root/apps/examples/nxconsole/nxcon_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxconsole/nxcon_main.c')
-rw-r--r--apps/examples/nxconsole/nxcon_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/nxconsole/nxcon_main.c b/apps/examples/nxconsole/nxcon_main.c
index 45223dcb1..550ce4912 100644
--- a/apps/examples/nxconsole/nxcon_main.c
+++ b/apps/examples/nxconsole/nxcon_main.c
@@ -389,7 +389,7 @@ int nxcon_main(int argc, char **argv)
* from this task.
*/
- g_nxcon_vars.pid = TASK_CREATE("NxConsole", CONFIG_EXAMPLES_NXCONSOLE_PRIO,
+ g_nxcon_vars.pid = task_create("NxConsole", CONFIG_EXAMPLES_NXCONSOLE_PRIO,
CONFIG_EXAMPLES_NXCONSOLE_STACKSIZE,
nxcon_task, NULL);
ASSERT(g_nxcon_vars.pid > 0);