summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-11-13 13:09:31 +0800
committerGitHub <[email protected]>2018-11-13 13:09:31 +0800
commit420478a0528071030f8c086b03b65a75ad707ab4 (patch)
tree216c5c397576c27f1e64d644ffa6449b9a048231 /include/rtthread.h
parentea17191127dd97003ff9ff072e2ca8dd79a7a5ae (diff)
parentd343c6578a0c12c4bdc98e7634907fb9779ba0d7 (diff)
Merge pull request #1973 from Guozhanxin/master
[kernel]修改定时器 hook 函数
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index fc5029a220..96ebe1940a 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -100,7 +100,8 @@ rt_tick_t rt_timer_next_timeout_tick(void);
void rt_timer_check(void);
#ifdef RT_USING_HOOK
-void rt_timer_timeout_sethook(void (*hook)(struct rt_timer *timer));
+void rt_timer_enter_sethook(void (*hook)(struct rt_timer *timer));
+void rt_timer_exit_sethook(void (*hook)(struct rt_timer *timer));
#endif
/**@}*/