From 7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 1 Sep 2014 13:21:15 -0600 Subject: Remove final traces of the 8015 from the NuttX source tree --- apps/examples/ostest/fpu.c | 4 ++-- apps/examples/ostest/ostest_main.c | 5 ----- apps/examples/ostest/restart.c | 2 +- apps/examples/ostest/waitpid.c | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) (limited to 'apps/examples/ostest') diff --git a/apps/examples/ostest/fpu.c b/apps/examples/ostest/fpu.c index 2729348ed..47b668524 100644 --- a/apps/examples/ostest/fpu.c +++ b/apps/examples/ostest/fpu.c @@ -308,7 +308,7 @@ void fpu_test(void) g_fpuno = 0; printf("Starting task FPU#1\n"); - task1 = TASK_CREATE("FPU#1", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); + task1 = task_create("FPU#1", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); if (task1 < 0) { printf("fpu_test: ERROR Failed to start task FPU#1\n"); @@ -321,7 +321,7 @@ void fpu_test(void) usleep(250); printf("Starting task FPU#2\n"); - task2 = TASK_CREATE("FPU#2", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); + task2 = task_create("FPU#2", CONFIG_EXAMPLES_OSTEST_FPUPRIORITY, CONFIG_EXAMPLES_OSTEST_FPUSTACKSIZE, fpu_task, NULL); if (task2 < 0) { printf("fpu_test: ERROR Failed to start task FPU#1\n"); diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index f7879ed3a..8e78e5d2d 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -552,13 +552,8 @@ int ostest_main(int argc, FAR char *argv[]) /* Verify that we can spawn a new task */ -#ifndef CONFIG_CUSTOM_STACK result = task_create("ostest", PRIORITY, STACKSIZE, user_main, (FAR char * const *)g_argv); -#else - result = task_create("ostest", PRIORITY, user_main, - (FAR char * const *)g_argv); -#endif if (result == ERROR) { printf("ostest_main: ERROR Failed to start user_main\n"); 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"); diff --git a/apps/examples/ostest/waitpid.c b/apps/examples/ostest/waitpid.c index 0649748a2..6b6de7908 100644 --- a/apps/examples/ostest/waitpid.c +++ b/apps/examples/ostest/waitpid.c @@ -84,7 +84,7 @@ static void waitpid_start_children(void) for (i = 0; i < NCHILDREN; i++) { - ret = TASK_CREATE("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL); + ret = task_create("waitpid", PRIORITY, STACKSIZE, waitpid_main, NULL); if (ret < 0) { printf("waitpid_start_child: ERROR Failed to start waitpid_main\n"); -- cgit v1.2.3