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

master
Giovanni Di Sirio 2015-11-12 09:48:08 +00:00
parent 26a6a598bf
commit dc3bc84a71
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ void ext_lld_exti_irq_enable(void) {
nvicEnableVector(EXTI0_1_IRQn, STM32_EXT_EXTI0_1_IRQ_PRIORITY); nvicEnableVector(EXTI0_1_IRQn, STM32_EXT_EXTI0_1_IRQ_PRIORITY);
nvicEnableVector(EXTI2_3_IRQn, STM32_EXT_EXTI2_3_IRQ_PRIORITY); nvicEnableVector(EXTI2_3_IRQn, STM32_EXT_EXTI2_3_IRQ_PRIORITY);
nvicEnableVector(EXTI4_15_IRQn, STM32_EXT_EXTI4_15_IRQ_PRIORITY); nvicEnableVector(EXTI4_15_IRQn, STM32_EXT_EXTI4_15_IRQ_PRIORITY);
#if !defined(STM32F030) || !defined(STM32F070) #if !defined(STM32F030) && !defined(STM32F070)
nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY); nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
nvicEnableVector(ADC1_COMP_IRQn, STM32_EXT_EXTI21_22_IRQ_PRIORITY); nvicEnableVector(ADC1_COMP_IRQn, STM32_EXT_EXTI21_22_IRQ_PRIORITY);
#endif #endif
@ -241,7 +241,7 @@ void ext_lld_exti_irq_disable(void) {
nvicDisableVector(EXTI0_1_IRQn); nvicDisableVector(EXTI0_1_IRQn);
nvicDisableVector(EXTI2_3_IRQn); nvicDisableVector(EXTI2_3_IRQn);
nvicDisableVector(EXTI4_15_IRQn); nvicDisableVector(EXTI4_15_IRQn);
#if !defined(STM32F030) || !defined(STM32F070) #if !defined(STM32F030) && !defined(STM32F070)
nvicDisableVector(PVD_IRQn); nvicDisableVector(PVD_IRQn);
nvicDisableVector(ADC1_COMP_IRQn); nvicDisableVector(ADC1_COMP_IRQn);
#endif #endif