summaryrefslogtreecommitdiffstatshomepage
path: root/stm/stm32fxxx_it.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/stm32fxxx_it.c')
-rw-r--r--stm/stm32fxxx_it.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/stm32fxxx_it.c b/stm/stm32fxxx_it.c
index e254ccc899..c1a9a0702f 100644
--- a/stm/stm32fxxx_it.c
+++ b/stm/stm32fxxx_it.c
@@ -31,6 +31,7 @@
#include "stm32fxxx_it.h"
#include "stm32f4xx_exti.h"
#include "usb_core.h"
+//#include "usb_hcd_int.h" // for usb host mode only
//#include "usbd_core.h"
//#include "usbd_cdc_core.h"
@@ -197,7 +198,8 @@ void OTG_HS_IRQHandler(void)
void OTG_FS_IRQHandler(void)
#endif
{
- USBD_OTG_ISR_Handler (&USB_OTG_dev);
+ USBD_OTG_ISR_Handler (&USB_OTG_dev); // device mode
+ //USBH_OTG_ISR_Handler (&USB_OTG_dev); // host mode FIXME
}
#ifdef USB_OTG_HS_DEDICATED_EP1_ENABLED