[components][pm]improve low power management components

This commit is contained in:
EvalZero
2019-05-06 18:17:55 +08:00
parent 4a2242b94d
commit c57f2370ad
3 changed files with 312 additions and 322 deletions
+4
View File
@@ -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
}
}