4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 21:03:32 +08:00

Update rtthread.h

This commit is contained in:
geniusgogo 2017-05-23 00:01:05 +08:00 committed by GitHub
parent 3c14a8867d
commit 387bbcc44f

View File

@ -164,7 +164,7 @@ void rt_thread_inited_sethook (void (*hook)(rt_thread_t thread));
* idle thread interface
*/
void rt_thread_idle_init(void);
#ifdef RT_USING_HOOK
#if defined(RT_USING_HOOK) || defined(RT_USING_IDLE_HOOK)
void rt_thread_idle_sethook(void (*hook)(void));
#endif
void rt_thread_idle_excute(void);