only include finsh.h when RT_USING_FINSH is defined.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@563 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-03-31 22:52:34 +00:00
parent 3052a549ef
commit 1c2f82359c
1 changed files with 2 additions and 0 deletions

View File

@ -6,7 +6,9 @@
* *
*/ */
#include <rtthread.h> #include <rtthread.h>
#ifdef RT_USING_FINSH
#include <finsh.h> #include <finsh.h>
#endif
#if RT_THREAD_PRIORITY_MAX == 8 #if RT_THREAD_PRIORITY_MAX == 8
#define THREAD_PRIORITY 6 #define THREAD_PRIORITY 6