diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-27 13:32:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-27 13:32:21 +0000 |
commit | cfe14dccae1e63f5067ea29d27921fda26d735b2 (patch) | |
tree | 344b18e6f8092ab5105661c5a1a0d662cf96471d /nuttx/configs/stm3210e-eval/src/up_idle.c | |
parent | a1f510576ad37d88d0985cf0ede02135c466d3a2 (diff) | |
download | px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.tar.gz px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.tar.bz2 px4-nuttx-cfe14dccae1e63f5067ea29d27921fda26d735b2.zip |
PM updates (missed last night)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4983 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_idle.c')
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/up_idle.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_idle.c b/nuttx/configs/stm3210e-eval/src/up_idle.c index b73b88c08..983089d4a 100644 --- a/nuttx/configs/stm3210e-eval/src/up_idle.c +++ b/nuttx/configs/stm3210e-eval/src/up_idle.c @@ -104,17 +104,17 @@ # error "CONFIG_RTC_ALARM should be enabled to use CONFIG_PM_SLEEP_WAKEUP" # endif - /* If CONFIG_PM_SLEEP_WAKEUP is defined, then ifndefCONFIG_PM_SLEEP_WAKEUP_SEC - * and ifndefCONFIG_PM_SLEEP_WAKEUP_NSEC define the delay until the STM32 + /* If CONFIG_PM_SLEEP_WAKEUP is defined, then CONFIG_PM_SLEEP_WAKEUP_SEC + * and CONFIG_PM_SLEEP_WAKEUP_NSEC define the delay until the STM32 * awakens from PM_SLEEP mode. */ -# ifndefCONFIG_PM_SLEEP_WAKEUP_SEC -# defineCONFIG_PM_SLEEP_WAKEUP_SEC 10 +# ifndef CONFIG_PM_SLEEP_WAKEUP_SEC +# define CONFIG_PM_SLEEP_WAKEUP_SEC 10 # endif -# ifndefCONFIG_PM_SLEEP_WAKEUP_NSEC -# defineCONFIG_PM_SLEEP_WAKEUP_NSEC 0 +# ifndef CONFIG_PM_SLEEP_WAKEUP_NSEC +# define CONFIG_PM_SLEEP_WAKEUP_NSEC 0 # endif #endif |