diff options
| author | Bernard Xiong <[email protected]> | 2018-03-01 18:12:49 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-03-01 18:12:49 +0800 |
| commit | 15fa3084c3d9365775a091096934d449e57bb4a7 (patch) | |
| tree | fddc237bd29cf55156f041b692a0167b2220c003 /include/rtthread.h | |
| parent | 44def114fb05bfff3556f70186cc4a74400dc217 (diff) | |
[Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index c92f7f012f..7671c63cd6 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -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 |
