diff options
| author | SummerGift <[email protected]> | 2019-05-13 14:28:56 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2019-05-13 14:28:56 +0800 |
| commit | 76431f6b00cb2558f072acf01c442e756c481ad1 (patch) | |
| tree | 36fbeddddda01f4712425d68dcca51322ad5216f /examples/pm/timer_app.c | |
| parent | 960451695b54bf4478a6af74d50e9876c50cf857 (diff) | |
| parent | 9f7cc78b06e45b18d1385a4827e4c03364a13a8f (diff) | |
Merge remote-tracking branch 'remotes/origin/master' into master_lab
Diffstat (limited to 'examples/pm/timer_app.c')
| -rw-r--r-- | examples/pm/timer_app.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pm/timer_app.c b/examples/pm/timer_app.c index 5c20d0f690..b7ff675b39 100644 --- a/examples/pm/timer_app.c +++ b/examples/pm/timer_app.c @@ -6,6 +6,7 @@ * Change Logs: * Date Author Notes * 2018-08-07 Tanek first implementation + * 2019-05-06 Zero-Free adapt to the new power management interface */ #include <board.h> @@ -39,7 +40,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; } |
