diff options
| author | Bernard Xiong <[email protected]> | 2018-03-01 23:02:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-01 23:02:28 +0800 |
| commit | f0ff2249541dedd58e13ecf54203877f4362e918 (patch) | |
| tree | 47543a9005349984aae1764777a74d7d384bb9d9 /include/rtthread.h | |
| parent | 44def114fb05bfff3556f70186cc4a74400dc217 (diff) | |
| parent | f9a7ba050a855c93ecf23644845baaa0a281784a (diff) | |
Merge pull request #1242 from RT-Thread/feature_shell
[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..9378b83cf7 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_api.h> +#endif + /**@}*/ #ifdef __cplusplus |
