mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 11:30:01 +08:00
[components][pm]improve low power management components
This commit is contained in:
@@ -228,6 +228,7 @@ void rt_thread_idle_excute(void)
|
||||
}
|
||||
}
|
||||
|
||||
extern void rt_system_power_manager(void);
|
||||
static void rt_thread_idle_entry(void *parameter)
|
||||
{
|
||||
#ifdef RT_USING_SMP
|
||||
@@ -255,6 +256,9 @@ static void rt_thread_idle_entry(void *parameter)
|
||||
#endif
|
||||
|
||||
rt_thread_idle_excute();
|
||||
#ifdef RT_USING_PM
|
||||
rt_system_power_manager();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user