提交 30d68a51 编写于 作者: G Grissiom

src/timer: fix a compile warning

上级 19ef5537
......@@ -130,6 +130,7 @@ rt_inline void _rt_timer_remove(rt_timer_t timer)
}
}
#if RT_DEBUG_TIMER
static int rt_timer_count_height(struct rt_timer *timer)
{
int i, cnt = 0;
......@@ -142,7 +143,6 @@ static int rt_timer_count_height(struct rt_timer *timer)
return cnt;
}
#if RT_DEBUG_TIMER
void rt_timer_dump(rt_list_t timer_heads[])
{
rt_list_t *list;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册