summaryrefslogtreecommitdiff
path: root/nuttx/sched/os_start.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-13 21:13:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-13 21:13:53 +0000
commit5b00da8a2750404b82cbb5a1a77ab611fb0eb530 (patch)
treec2707afd3fbcb5a875f6ec86286feac54ddc825c /nuttx/sched/os_start.c
parenteef7fd41b4fa6afb8a2f34b57467622f0904cdb2 (diff)
downloadpx4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.tar.gz
px4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.tar.bz2
px4-nuttx-5b00da8a2750404b82cbb5a1a77ab611fb0eb530.zip
Added CONFIG_USERMAIN_STACKSIZE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1227 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_start.c')
-rw-r--r--nuttx/sched/os_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 414cbbe05..b883424c5 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -430,7 +430,7 @@ void os_start(void)
sdbg("Starting init thread\n");
#ifndef CONFIG_CUSTOM_STACK
init_taskid = task_create("init", SCHED_PRIORITY_DEFAULT,
- CONFIG_IDLETHREAD_STACKSIZE,
+ CONFIG_USERMAIN_STACKSIZE,
(main_t)user_start, (const char **)NULL);
#else
init_taskid = task_create("init", SCHED_PRIORITY_DEFAULT,