PM update

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4982 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-07-27 00:14:38 +00:00
parent 569e4ef123
commit 66833bdf12
2 changed files with 4 additions and 4 deletions

View File

@ -104,6 +104,6 @@ int stm32_pmstandby(void)
/* Sleep until the wakeup reset occurs */
asm("WFI");
asm("wfi");
return OK; /* Won't get here */
}

View File

@ -112,11 +112,11 @@ int stm32_pmstop(bool lpds)
#ifdef CONFIG_PM_WFE
/* Mode: SLEEP + Entry with WFE */
__asm("wfe");
asm("wfe");
#else
/* Mode: SLEEP + Entry with WFI */
__asm("wfi");
asm("wfi");
#endif
return OK;
}