diff options
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c index dc4e5f002..3df747d94 100644 --- a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c +++ b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.c @@ -328,7 +328,7 @@ void ext_lld_exti_irq_enable(void) { nvicEnableVector(EXTI4_IRQn, STM32_EXT_EXTI4_IRQ_PRIORITY);
nvicEnableVector(EXTI9_5_IRQn, STM32_EXT_EXTI5_9_IRQ_PRIORITY);
nvicEnableVector(EXTI15_10_IRQn, STM32_EXT_EXTI10_15_IRQ_PRIORITY);
- nvicEnableVector(PVD_PVM_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
+ nvicEnableVector(PVD_PVM_IRQn, STM32_EXT_EXTI1635_38_IRQ_PRIORITY);
nvicEnableVector(RTC_Alarm_IRQn, STM32_EXT_EXTI18_IRQ_PRIORITY);
nvicEnableVector(TAMP_STAMP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY);
nvicEnableVector(RTC_WKUP_IRQn, STM32_EXT_EXTI20_IRQ_PRIORITY);
diff --git a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h index 3e9d686b6..5c0508237 100644 --- a/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h +++ b/os/hal/ports/STM32/STM32L4xx/ext_lld_isr.h @@ -89,10 +89,10 @@ #endif
/**
- * @brief EXTI16 interrupt priority level setting.
+ * @brief EXTI16-EXTI35..38 interrupt priority level setting.
*/
-#if !defined(STM32_EXT_EXTI16_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_EXT_EXTI16_IRQ_PRIORITY 6
+#if !defined(STM32_EXT_EXTI1635_38_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_EXT_EXTI1635_38_IRQ_PRIORIT 6
#endif
/**
|