diff options
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/hal_ext_lld_isr.c | 2 |
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
|