4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 11:53:31 +08:00

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

This reverts commit 93a7cff44ccc2921f57dd05096268064bcaadd06.
This commit is contained in:
Man, Jianting (Meco) 2023-02-28 22:38:51 -05:00
parent b9e4fcfc68
commit 423f0c6134

View File

@ -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: