aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-09 17:49:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-09 17:49:15 +0000
commit6924ea9aeacac1d4a0d69271d0cd973c0e7038e2 (patch)
tree0015a8a1d1290df7e71fd1a2bf172e3439411f57
parent9607cf96b0f4278f4c268e48e70d17bf641f8233 (diff)
downloadChibiOS-6924ea9aeacac1d4a0d69271d0cd973c0e7038e2.tar.gz
ChibiOS-6924ea9aeacac1d4a0d69271d0cd973c0e7038e2.tar.bz2
ChibiOS-6924ea9aeacac1d4a0d69271d0cd973c0e7038e2.zip
Fixed bug bug #517.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7027 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c b/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c
index 94bb0c57c..a09ad2b07 100644
--- a/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c
+++ b/os/hal/ports/STM32/STM32F4xx/ext_lld_isr.c
@@ -306,8 +306,8 @@ void ext_lld_exti_irq_enable(void) {
nvicEnableVector(PVD_IRQn, STM32_EXT_EXTI16_IRQ_PRIORITY);
nvicEnableVector(RTC_Alarm_IRQn, STM32_EXT_EXTI17_IRQ_PRIORITY);
nvicEnableVector(OTG_FS_WKUP_IRQn, STM32_EXT_EXTI18_IRQ_PRIORITY);
- nvicEnableVector(ETH_WKUP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY);
#if !defined(STM32F401xx)
+ nvicEnableVector(ETH_WKUP_IRQn, STM32_EXT_EXTI19_IRQ_PRIORITY);
nvicEnableVector(OTG_HS_WKUP_IRQn, STM32_EXT_EXTI20_IRQ_PRIORITY);
nvicEnableVector(TAMP_STAMP_IRQn, STM32_EXT_EXTI21_IRQ_PRIORITY);
#endif /* !defined(STM32F401xx) */
@@ -331,8 +331,8 @@ void ext_lld_exti_irq_disable(void) {
nvicDisableVector(PVD_IRQn);
nvicDisableVector(RTC_Alarm_IRQn);
nvicDisableVector(OTG_FS_WKUP_IRQn);
- nvicDisableVector(ETH_WKUP_IRQn);
#if !defined(STM32F401xx)
+ nvicDisableVector(ETH_WKUP_IRQn);
nvicDisableVector(OTG_HS_WKUP_IRQn);
nvicDisableVector(TAMP_STAMP_IRQn);
#endif /* !defined(STM32F401xx) */