This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -29,13 +29,11 @@ static void pm_timer_timeout(void *parameter)
if (sleep_mode == PM_SLEEP_MODE_NONE)
{
rt_pm_run_enter(PM_RUN_MODE_NORMAL_SPEED);
rt_pm_module_release(PM_POWER_ID, PM_SLEEP_MODE_NONE);
wakeup_triggered = 0;
}
else
{
rt_pm_run_enter(PM_RUN_MODE_MEDIUM_SPEED);
rt_pm_module_request(PM_POWER_ID, PM_SLEEP_MODE_NONE);
wakeup_triggered = 1;
}