summaryrefslogtreecommitdiff
path: root/nuttx/examples/ostest/main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-18 23:42:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-18 23:42:12 +0000
commit6f83493635cb3507332725d981ac00053414b4ab (patch)
treead8d0630ff15a2f3818b0d981b7c49cab4a14787 /nuttx/examples/ostest/main.c
parentda90ea4a7f3443a13b79cf0c9197f1f3736fc188 (diff)
downloadpx4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.tar.gz
px4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.tar.bz2
px4-nuttx-6f83493635cb3507332725d981ac00053414b4ab.zip
Make number of threads in barrier test configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@935 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/main.c')
-rw-r--r--nuttx/examples/ostest/main.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c
index bb12b49ce..5f7683be6 100644
--- a/nuttx/examples/ostest/main.c
+++ b/nuttx/examples/ostest/main.c
@@ -34,10 +34,6 @@
****************************************************************************/
/****************************************************************************
- * Compilation Switches
- ****************************************************************************/
-
-/****************************************************************************
* Included Files
****************************************************************************/
@@ -48,6 +44,7 @@
#include <string.h>
#include <sched.h>
#include <nuttx/init.h>
+
#include "ostest.h"
/****************************************************************************
@@ -57,22 +54,6 @@
#define PRIORITY 100
#define NARGS 4
-/* The task_create task size can be specified in the defconfig file */
-
-#ifdef CONFIG_EXAMPLES_OSTEST_STACKSIZE
-# define STACKSIZE CONFIG_EXAMPLES_OSTEST_STACKSIZE
-#else
-# define STACKSIZE 8192
-#endif
-
-/* The number of times to execute the test can be specified in the defconfig
- * file.
- */
-
-#ifndef CONFIG_EXAMPLES_OSTEST_LOOPS
-# define CONFIG_EXAMPLES_OSTEST_LOOPS 1
-#endif
-
/****************************************************************************
* Private Data
****************************************************************************/