From 8844d031e4bc39cb6e6cd053b63a8cdaeb383221 Mon Sep 17 00:00:00 2001 From: Tobias Badertscher Date: Tue, 24 Nov 2015 14:35:24 +0100 Subject: stmhal: Add support for the STM32F429I-DISCO kit by STMicro. --- stmhal/stm32_it.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stmhal/stm32_it.c') diff --git a/stmhal/stm32_it.c b/stmhal/stm32_it.c index 5f96c6083..f86eb041e 100644 --- a/stmhal/stm32_it.c +++ b/stmhal/stm32_it.c @@ -301,7 +301,7 @@ void SysTick_Handler(void) { #if defined(USE_USB_FS) #define OTG_XX_IRQHandler OTG_FS_IRQHandler #define OTG_XX_WKUP_IRQHandler OTG_FS_WKUP_IRQHandler -#elif defined(USE_USB_HS) +#elif defined(USE_USB_HS) || defined(USE_USB_HS_IN_FS) #define OTG_XX_IRQHandler OTG_HS_IRQHandler #define OTG_XX_WKUP_IRQHandler OTG_HS_WKUP_IRQHandler #endif @@ -352,7 +352,7 @@ void OTG_XX_WKUP_IRQHandler(void) { #ifdef USE_USB_FS /* Clear EXTI pending Bit*/ __HAL_USB_FS_EXTI_CLEAR_FLAG(); -#elif defined(USE_USB_HS) +#elif defined(USE_USB_HS) || defined(USE_USB_HS_IN_FS) /* Clear EXTI pending Bit*/ __HAL_USB_HS_EXTI_CLEAR_FLAG(); #endif -- cgit v1.2.3