summaryrefslogtreecommitdiff
path: root/stmhal/stm32_it.c
diff options
context:
space:
mode:
authorTobias Badertscher <python@baerospace.ch>2015-11-24 14:35:24 +0100
committerDamien George <damien.p.george@gmail.com>2015-11-25 23:53:26 +0000
commit8844d031e4bc39cb6e6cd053b63a8cdaeb383221 (patch)
treec32a2a092455d27fddad9942eb47f17825b61252 /stmhal/stm32_it.c
parentf32020ef3df62ff4716b070a8bb2abbbe9678012 (diff)
stmhal: Add support for the STM32F429I-DISCO kit by STMicro.
Diffstat (limited to 'stmhal/stm32_it.c')
-rw-r--r--stmhal/stm32_it.c4
1 files changed, 2 insertions, 2 deletions
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