From 7bc4fe3b74fb37a2054ef50463faa0dbaaedb14d Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Fri, 4 Mar 2011 09:16:41 +0000 Subject: [PATCH] add IDLE_THREAD_STACK_SIZE in rtconfig.h git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/idle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/idle.c b/src/idle.c index 49466b81b4..2c5d929111 100644 --- a/src/idle.c +++ b/src/idle.c @@ -17,11 +17,13 @@ #include #include "kservice.h" +#ifndef IDLE_THREAD_STACK_SIZE #if defined (RT_USING_HOOK) || defined(RT_USING_HEAP) #define IDLE_THREAD_STACK_SIZE 256 #else #define IDLE_THREAD_STACK_SIZE 128 #endif +#endif static struct rt_thread idle; ALIGN(RT_ALIGN_SIZE) -- GitLab