aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 17:20:45 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-20 17:20:45 +0000
commit0a71f0874ae7bd904d3c06b7c2bd7c368c81ef8b (patch)
tree431d579e0cc04b106b3b9125ad0e4d396dbd27a7 /os/hal
parent45201fb29e14d97d2745970319c6ce41b409d855 (diff)
downloadChibiOS-0a71f0874ae7bd904d3c06b7c2bd7c368c81ef8b.tar.gz
ChibiOS-0a71f0874ae7bd904d3c06b7c2bd7c368c81ef8b.tar.bz2
ChibiOS-0a71f0874ae7bd904d3c06b7c2bd7c368c81ef8b.zip
Fixed condition which makes EXTI driver not compiling on STM32F410
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9934 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-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 32c21cfaa..88de1d037 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c
@@ -391,7 +391,9 @@ void ext_lld_exti_irq_disable(void) {
nvicDisableVector(EXTI15_10_IRQn);
nvicDisableVector(PVD_IRQn);
nvicDisableVector(RTC_Alarm_IRQn);
+#if STM32_HAS_OTG1
nvicDisableVector(OTG_FS_WKUP_IRQn);
+#endif
#if STM32_HAS_ETH
nvicDisableVector(ETH_WKUP_IRQn);
#endif