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:
parent
3052a549ef
commit
1c2f82359c
|
@ -6,7 +6,9 @@
|
|||
*
|
||||
*/
|
||||
#include <rtthread.h>
|
||||
#ifdef RT_USING_FINSH
|
||||
#include <finsh.h>
|
||||
#endif
|
||||
|
||||
#if RT_THREAD_PRIORITY_MAX == 8
|
||||
#define THREAD_PRIORITY 6
|
||||
|
|
Loading…
Reference in New Issue