diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-01-13 00:20:06 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-01-13 00:20:06 +0000 |
| commit | 328708eb2504eae2ca8132c948bc3b1fc1c95243 (patch) | |
| tree | ea721d8d4185cdc8650d6c128b3f7dba7fddd77d /stm/stm32fxxx_it.c | |
| parent | fd17921b75817a07d688ccaa9130f65c1181f910 (diff) | |
stm: Re-instate C debugging USART port (disabled by default).
See pyb_usart_global_debug variable.
Also did some work on USB OTG, but nothing working yet.
Diffstat (limited to 'stm/stm32fxxx_it.c')
| -rw-r--r-- | stm/stm32fxxx_it.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/stm32fxxx_it.c b/stm/stm32fxxx_it.c index e254ccc89..c1a9a0702 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 |
