提交 423f0c61 编写于 作者: mysterywolf's avatar mysterywolf

Revert "[kernel][timer] 修复在IAR下数据类型报错 (#6804)"

This reverts commit 93a7cff4.
上级 b9e4fcfc
......@@ -614,7 +614,7 @@ rt_err_t rt_timer_control(rt_timer_t timer, int cmd, void *arg)
*(rt_tick_t *)arg = timer->timeout_tick;
break;
case RT_TIMER_CTRL_GET_FUNC:
arg = (void *)timer->timeout_func;
*(void **)arg = timer->timeout_func;
break;
case RT_TIMER_CTRL_SET_FUNC:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册