summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/restart.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ostest/restart.c')
-rw-r--r--apps/examples/ostest/restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/ostest/restart.c b/apps/examples/ostest/restart.c
index 0d0f90d07..703dbd90e 100644
--- a/apps/examples/ostest/restart.c
+++ b/apps/examples/ostest/restart.c
@@ -166,7 +166,7 @@ void restart_test(void)
/* Start the task */
- ret = TASK_CREATE("ostest", PRIORITY, STACKSIZE, restart_main, g_argv);
+ ret = task_create("ostest", PRIORITY, STACKSIZE, restart_main, g_argv);
if (ret < 0)
{
printf("restart_main: ERROR Failed to start restart_main\n");