aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 16:26:12 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 16:26:12 +0000
commit45201fb29e14d97d2745970319c6ce41b409d855 (patch)
treef741d6ef0f792dc08bc19f6fafdbf35a8791f948 /os/hal/ports/STM32/STM32F4xx
parentf64807054ff4ace593c9abc507383bfaf0c7819d (diff)
downloadChibiOS-45201fb29e14d97d2745970319c6ce41b409d855.tar.gz
ChibiOS-45201fb29e14d97d2745970319c6ce41b409d855.tar.bz2
ChibiOS-45201fb29e14d97d2745970319c6ce41b409d855.zip
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
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c b/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c
index b44374074..32c21cfaa 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c
@@ -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