[Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable

This commit is contained in:
Bernard Xiong
2018-03-01 18:12:49 +08:00
parent 44def114fb
commit 15fa3084c3
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -563,6 +563,10 @@ void rt_assert_set_hook(void (*hook)(const char *ex, const char *func, rt_size_t
void rt_assert_handler(const char *ex, const char *func, rt_size_t line);
#endif /* RT_DEBUG */
#ifdef RT_USING_FINSH
#include <finsh.h>
#endif
/**@}*/
#ifdef __cplusplus