diff options
Diffstat (limited to 'stmhal/stm32_it.c')
-rw-r--r-- | stmhal/stm32_it.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/stm32_it.c b/stmhal/stm32_it.c index f86eb041e9..5f96c6083b 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) || defined(USE_USB_HS_IN_FS) +#elif defined(USE_USB_HS) #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) || defined(USE_USB_HS_IN_FS) +#elif defined(USE_USB_HS) /* Clear EXTI pending Bit*/ __HAL_USB_HS_EXTI_CLEAR_FLAG(); #endif |