diff --git a/components/drivers/pm/pm.c b/components/drivers/pm/pm.c index 655c4b4c02e180e7141729685142a436012c46f9..c300414444e651024f284fefcd6035d8f02274f1 100644 --- a/components/drivers/pm/pm.c +++ b/components/drivers/pm/pm.c @@ -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 ; } }