diff options
| author | EvalZero <[email protected]> | 2019-05-06 19:57:22 +0800 |
|---|---|---|
| committer | EvalZero <[email protected]> | 2019-05-06 19:57:22 +0800 |
| commit | 623ddc62b2df57b94674d1a46bfa3ff58593bbcb (patch) | |
| tree | 4d90d6353774a75d15be6a3a748e9162ed870a88 /examples | |
| parent | 943c5ccc66e59537ce00a773aca43978b296751d (diff) | |
[components][pm]adapt to the new power management interface
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/pm/timer_app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pm/timer_app.c b/examples/pm/timer_app.c index 5c20d0f690..66f4c8d4d2 100644 --- a/examples/pm/timer_app.c +++ b/examples/pm/timer_app.c @@ -39,7 +39,7 @@ static int timer_app_init(void) rt_timer_start(timer1); /* keep in timer mode */ - rt_pm_request(PM_SLEEP_MODE_TIMER); + rt_pm_request(PM_SLEEP_MODE_DEEP); return 0; } |
