mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 16:03:30 +08:00
[kernel][pm] beautify code
This commit is contained in:
parent
77a5ddf9ae
commit
d6d84ed055
@ -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 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user