mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-02 09:35:28 +08:00
[HUST CSE] 变量 tick 没有初始化 (#7424)
This commit is contained in:
parent
6edd0586f2
commit
1efe3071c7
@ -136,6 +136,8 @@ static rt_tick_t _pm_timer_get_tick(struct rt_pm *pm)
|
|||||||
rt_tick_t tick;
|
rt_tick_t tick;
|
||||||
RT_ASSERT(pm != RT_NULL);
|
RT_ASSERT(pm != RT_NULL);
|
||||||
|
|
||||||
|
tick = 1;
|
||||||
|
|
||||||
return get_os_tick_from_pm_tick(tick);
|
return get_os_tick_from_pm_tick(tick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user