diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-12 09:48:08 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-12 09:48:08 +0000 |
commit | dc3bc84a7168edd0b36f5eed12d4e712c10144b4 (patch) | |
tree | a1d8e4a45e10953c12502daeeab0b8b6c04f6167 /os | |
parent | 26a6a598bf2b73bb93ea86bfa62cf3e170fa2687 (diff) | |
download | ChibiOS-dc3bc84a7168edd0b36f5eed12d4e712c10144b4.tar.gz ChibiOS-dc3bc84a7168edd0b36f5eed12d4e712c10144b4.tar.bz2 ChibiOS-dc3bc84a7168edd0b36f5eed12d4e712c10144b4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8471 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/STM32F0xx/ext_lld_isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/ext_lld_isr.c b/os/hal/ports/STM32/STM32F0xx/ext_lld_isr.c index 1961eb0d6..5d71d2fbf 100644 --- a/os/hal/ports/STM32/STM32F0xx/ext_lld_isr.c +++ b/os/hal/ports/STM32/STM32F0xx/ext_lld_isr.c @@ -224,7 +224,7 @@ 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) || !defined(STM32F070)
+#if !defined(STM32F030) && !defined(STM32F070)
nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
nvicEnableVector(ADC1_COMP_IRQn, STM32_EXT_EXTI21_22_IRQ_PRIORITY);
#endif
@@ -241,7 +241,7 @@ void ext_lld_exti_irq_disable(void) { nvicDisableVector(EXTI0_1_IRQn);
nvicDisableVector(EXTI2_3_IRQn);
nvicDisableVector(EXTI4_15_IRQn);
-#if !defined(STM32F030) || !defined(STM32F070)
+#if !defined(STM32F030) && !defined(STM32F070)
nvicDisableVector(PVD_IRQn);
nvicDisableVector(ADC1_COMP_IRQn);
#endif
|