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
This commit is contained in:
Rocco Marco Guglielmi 2016-11-20 17:20:45 +00:00
parent 45201fb29e
commit 0a71f0874a
1 changed files with 2 additions and 0 deletions

View File

@ -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