diff options
| author | Bernard Xiong <[email protected]> | 2018-11-13 13:09:31 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-13 13:09:31 +0800 |
| commit | 420478a0528071030f8c086b03b65a75ad707ab4 (patch) | |
| tree | 216c5c397576c27f1e64d644ffa6449b9a048231 /include/rtthread.h | |
| parent | ea17191127dd97003ff9ff072e2ca8dd79a7a5ae (diff) | |
| parent | d343c6578a0c12c4bdc98e7634907fb9779ba0d7 (diff) | |
Merge pull request #1973 from Guozhanxin/master
[kernel]修改定时器 hook 函数
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 3 |
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 /**@}*/ |
