1
0
Эх сурвалжийг харах

add IDLE_THREAD_STACK_SIZE in rtconfig.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316
wuyangyong 14 жил өмнө
parent
commit
7bc4fe3b74
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/idle.c

+ 2 - 0
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)