diff options
Diffstat (limited to 'os/hal/platforms/STM32F30x')
-rw-r--r-- | os/hal/platforms/STM32F30x/ext_lld_isr.c | 6 | ||||
-rw-r--r-- | os/hal/platforms/STM32F30x/ext_lld_isr.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F30x/ext_lld_isr.c b/os/hal/platforms/STM32F30x/ext_lld_isr.c index 4603a0f81..4a3dece90 100644 --- a/os/hal/platforms/STM32F30x/ext_lld_isr.c +++ b/os/hal/platforms/STM32F30x/ext_lld_isr.c @@ -282,9 +282,9 @@ CH_IRQ_HANDLER(Vector4C) { }
#endif
-#if !defined(STM32_DISABLE_EXTI21_23_HANDLER)
+#if !defined(STM32_DISABLE_EXTI21_22_29_HANDLER)
/**
- * @brief EXTI[21]...EXTI[23] interrupt handler (COMP1, COMP2, COMP3).
+ * @brief EXTI[21],EXTI[22],EXTI[29] interrupt handler (COMP1, COMP2, COMP3).
*
* @isr
*/
@@ -386,7 +386,7 @@ void ext_lld_exti_irq_enable(void) { nvicEnableVector(RTC_WKUP_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI20_IRQ_PRIORITY));
nvicEnableVector(COMP1_2_3_IRQn,
- CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_23_IRQ_PRIORITY));
+ CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_22_29_IRQ_PRIORITY));
nvicEnableVector(COMP4_5_6_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI30_32_IRQ_PRIORITY));
nvicEnableVector(COMP7_IRQn,
diff --git a/os/hal/platforms/STM32F30x/ext_lld_isr.h b/os/hal/platforms/STM32F30x/ext_lld_isr.h index 1ca3be565..b070a1411 100644 --- a/os/hal/platforms/STM32F30x/ext_lld_isr.h +++ b/os/hal/platforms/STM32F30x/ext_lld_isr.h @@ -128,10 +128,10 @@ #endif
/**
- * @brief EXTI21..23 interrupt priority level setting.
+ * @brief EXTI21,22,29 interrupt priority level setting.
*/
-#if !defined(STM32_EXT_EXTI21_23_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_EXT_EXTI21_23_IRQ_PRIORITY 6
+#if !defined(STM32_EXT_EXTI21_22_29_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_EXT_EXTI21_22_29_IRQ_PRIORITY 6
#endif
/**
|