Fixed bug #514.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7032 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
7350cf2998
commit
d4940ccd26
|
@ -174,7 +174,9 @@ void ext_lld_exti_irq_enable(void) {
|
|||
nvicEnableVector(EXTI0_1_IRQn, STM32_EXT_EXTI0_1_IRQ_PRIORITY);
|
||||
nvicEnableVector(EXTI2_3_IRQn, STM32_EXT_EXTI2_3_IRQ_PRIORITY);
|
||||
nvicEnableVector(EXTI4_15_IRQn, STM32_EXT_EXTI4_15_IRQ_PRIORITY);
|
||||
#if !defined(STM32F030)
|
||||
nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
|
||||
#endif
|
||||
nvicEnableVector(RTC_IRQn, STM32_EXT_EXTI17_IRQ_PRIORITY);
|
||||
}
|
||||
|
||||
|
@ -188,7 +190,9 @@ void ext_lld_exti_irq_disable(void) {
|
|||
nvicDisableVector(EXTI0_1_IRQn);
|
||||
nvicDisableVector(EXTI2_3_IRQn);
|
||||
nvicDisableVector(EXTI4_15_IRQn);
|
||||
#if !defined(STM32F030)
|
||||
nvicDisableVector(PVD_IRQn);
|
||||
#endif
|
||||
nvicDisableVector(RTC_IRQn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue