diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-07-01 18:23:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-07-01 18:23:03 +0000 |
commit | 5f2d898113f8991a6894c4db2133115cfbbe3c05 (patch) | |
tree | 347f2a879c2b5d4f85cf6e72487fd6747a337051 /nuttx/examples/ostest | |
parent | 11b7dc40770900fc7ddf42cac56822108aea571c (diff) | |
download | px4-nuttx-5f2d898113f8991a6894c4db2133115cfbbe3c05.tar.gz px4-nuttx-5f2d898113f8991a6894c4db2133115cfbbe3c05.tar.bz2 px4-nuttx-5f2d898113f8991a6894c4db2133115cfbbe3c05.zip |
Added cp command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@303 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest')
-rw-r--r-- | nuttx/examples/ostest/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c index 889eeaefa..b7f0afbf3 100644 --- a/nuttx/examples/ostest/main.c +++ b/nuttx/examples/ostest/main.c @@ -55,9 +55,15 @@ ************************************************************/ #define PRIORITY 100 -#define STACKSIZE 8192 #define NARGS 4 +/* The task_create task size can be specified in the defconfig file */ +#ifdef CONFIG_OSTEST_STACKSIZE +# define STACKSIZE CONFIG_OSTEST_STACKSIZE +#else +# define STACKSIZE 8192 +#endif + /************************************************************ * Private Data ************************************************************/ |