未验证 提交 b67f34b0 编写于 作者: G guo 提交者: GitHub

Merge pull request #5536 from mysterywolf/pm

[kernel][pm] beautify code
......@@ -241,7 +241,6 @@ static void rt_defunct_execute(void)
}
}
extern void rt_system_power_manager(void);
static void rt_thread_idle_entry(void *parameter)
{
#ifdef RT_USING_SMP
......@@ -275,6 +274,7 @@ static void rt_thread_idle_entry(void *parameter)
#endif /* RT_USING_SMP */
#ifdef RT_USING_PM
void rt_system_power_manager(void);
rt_system_power_manager();
#endif /* RT_USING_PM */
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册