Fixed condition which makes EXTI driver not compiling on STM32F410
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9933 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
f64807054f
commit
45201fb29e
|
@ -360,7 +360,9 @@ void ext_lld_exti_irq_enable(void) {
|
|||
nvicEnableVector(EXTI15_10_IRQn, STM32_EXT_EXTI10_15_IRQ_PRIORITY);
|
||||
nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
|
||||
nvicEnableVector(RTC_Alarm_IRQn, STM32_EXT_EXTI17_IRQ_PRIORITY);
|
||||
#if STM32_HAS_OTG1
|
||||
nvicEnableVector(OTG_FS_WKUP_IRQn, STM32_EXT_EXTI18_IRQ_PRIORITY);
|
||||
#endif
|
||||
#if STM32_HAS_ETH
|
||||
nvicEnableVector(ETH_WKUP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue