git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6862 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2014-04-21 09:42:50 +00:00
parent 31e5715fb4
commit b8b6d80042
1 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ CH_IRQ_HANDLER(TAMPER_STAMP_IRQHandler) {
CH_IRQ_EPILOGUE(); CH_IRQ_EPILOGUE();
} }
#endif /* defined(STM32F401xx) */ #endif /* !defined(STM32F401xx) */
/** /**
* @brief EXTI[22] interrupt handler (RTC_WKUP). * @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)); CORTEX_PRIORITY_MASK(STM32_EXT_EXTI20_IRQ_PRIORITY));
nvicEnableVector(TAMP_STAMP_IRQn, nvicEnableVector(TAMP_STAMP_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_IRQ_PRIORITY)); CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_IRQ_PRIORITY));
#endif /* defined(STM32F401xx) */ #endif /* !defined(STM32F401xx) */
nvicEnableVector(RTC_WKUP_IRQn, nvicEnableVector(RTC_WKUP_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI22_IRQ_PRIORITY)); CORTEX_PRIORITY_MASK(STM32_EXT_EXTI22_IRQ_PRIORITY));
} }
@ -350,7 +350,7 @@ void ext_lld_exti_irq_disable(void) {
#if !defined(STM32F401xx) #if !defined(STM32F401xx)
nvicDisableVector(OTG_HS_WKUP_IRQn); nvicDisableVector(OTG_HS_WKUP_IRQn);
nvicDisableVector(TAMP_STAMP_IRQn); nvicDisableVector(TAMP_STAMP_IRQn);
#endif /* defined(STM32F401xx) */ #endif /* !defined(STM32F401xx) */
nvicDisableVector(RTC_WKUP_IRQn); nvicDisableVector(RTC_WKUP_IRQn);
} }