summaryrefslogtreecommitdiff
path: root/nuttx/include/spawn.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-09 14:23:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-09 14:23:34 -0600
commit17cfb7007f3f4e253d3533ee87349ce1b8e4885e (patch)
treefb175af19fa6835f8929ee075ff16acfeb49f904 /nuttx/include/spawn.h
parent4495dfb36135744a6f903e32ac2215b1f3ab0452 (diff)
downloadpx4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.tar.gz
px4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.tar.bz2
px4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.zip
Various changes and bigfixes for problems detected by CppCheck
Diffstat (limited to 'nuttx/include/spawn.h')
-rw-r--r--nuttx/include/spawn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/include/spawn.h b/nuttx/include/spawn.h
index e6096fdba..7ab9bb498 100644
--- a/nuttx/include/spawn.h
+++ b/nuttx/include/spawn.h
@@ -51,6 +51,11 @@
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
+/* Configuration ************************************************************/
+
+#ifndef CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE
+# define CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE 2048
+#endif
/* "The spawn.h header shall define the flags that may be set in a
* posix_spawnattr_t object using the posix_spawnattr_setflags() function:"