Merge pull request #2017 from geniusgogo/fix_pm

fixed pm tick adjust
This commit is contained in:
Bernard Xiong 2018-11-30 09:54:14 +08:00 committed by GitHub
commit 7bd57103ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -151,11 +151,10 @@ void rt_pm_enter(void)
/* enter sleep and wait to be waken up */
pm->ops->enter(pm);
rt_hw_interrupt_enable(level);
/* exit from low power mode */
rt_pm_exit();
rt_hw_interrupt_enable(level);
return ;
}
}