From b8b6d8004219fd81e1dc711f1bbbe4b09a7334c2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 21 Apr 2014 09:42:50 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6862 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/ext_lld_isr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os/hal/platforms/STM32F4xx/ext_lld_isr.c b/os/hal/platforms/STM32F4xx/ext_lld_isr.c index 620d7370d..64731b4c4 100644 --- a/os/hal/platforms/STM32F4xx/ext_lld_isr.c +++ b/os/hal/platforms/STM32F4xx/ext_lld_isr.c @@ -269,7 +269,7 @@ CH_IRQ_HANDLER(TAMPER_STAMP_IRQHandler) { CH_IRQ_EPILOGUE(); } -#endif /* defined(STM32F401xx) */ +#endif /* !defined(STM32F401xx) */ /** * @brief EXTI[22] interrupt handler (RTC_WKUP). @@ -324,7 +324,7 @@ void ext_lld_exti_irq_enable(void) { CORTEX_PRIORITY_MASK(STM32_EXT_EXTI20_IRQ_PRIORITY)); nvicEnableVector(TAMP_STAMP_IRQn, CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_IRQ_PRIORITY)); -#endif /* defined(STM32F401xx) */ +#endif /* !defined(STM32F401xx) */ nvicEnableVector(RTC_WKUP_IRQn, CORTEX_PRIORITY_MASK(STM32_EXT_EXTI22_IRQ_PRIORITY)); } @@ -350,7 +350,7 @@ void ext_lld_exti_irq_disable(void) { #if !defined(STM32F401xx) nvicDisableVector(OTG_HS_WKUP_IRQn); nvicDisableVector(TAMP_STAMP_IRQn); -#endif /* defined(STM32F401xx) */ +#endif /* !defined(STM32F401xx) */ nvicDisableVector(RTC_WKUP_IRQn); }