summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_pmstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_pmstop.c')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_pmstop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_pmstop.c b/nuttx/arch/arm/src/stm32/stm32_pmstop.c
index 9bd4af73a..14ce63b55 100644
--- a/nuttx/arch/arm/src/stm32/stm32_pmstop.c
+++ b/nuttx/arch/arm/src/stm32/stm32_pmstop.c
@@ -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;
}