diff options
| author | wuyangyong <[email protected]> | 2011-03-04 09:16:41 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2011-03-04 09:16:41 +0000 |
| commit | 7bc4fe3b74fb37a2054ef50463faa0dbaaedb14d (patch) | |
| tree | 29a158a5f45e9f80b25384c731a6a5bde13a9ebc | |
| parent | b495cb50fcb647013f0bf519a12162e8daece337 (diff) | |
add IDLE_THREAD_STACK_SIZE in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | src/idle.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <rtthread.h> #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) |
