diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-02 21:27:47 +0000 |
commit | 36727bb989aaf6110386f75262bd6a5f6dbec809 (patch) | |
tree | 031ccc9da4a48ac560992ebbc80cfe201eb4eb15 /nuttx/examples/ostest/main.c | |
parent | f06ed1467da35379a46c5fce7535c35d1811b888 (diff) | |
download | px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.gz px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.tar.bz2 px4-nuttx-36727bb989aaf6110386f75262bd6a5f6dbec809.zip |
Code complete for 8051 (not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@29 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/main.c')
-rw-r--r-- | nuttx/examples/ostest/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c index 69d783c7f..8e09230f5 100644 --- a/nuttx/examples/ostest/main.c +++ b/nuttx/examples/ostest/main.c @@ -191,8 +191,13 @@ int user_start(int parm1, int parm2, int parm3, int parm4) /* Verify that we can spawn a new task */ +#ifndef CONFIG_CUSTOM_STACK result = task_create("ostest", PRIORITY, STACKSIZE, user_main, arg1, arg2, arg3, arg4); +#else + result = task_create("ostest", PRIORITY, user_main, + arg1, arg2, arg3, arg4); +#endif if (result == ERROR) { printf("user_start: ERROR Failed to start user_main\n"); |