summaryrefslogtreecommitdiff
path: root/stm/lib/usb_core.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-13 00:20:06 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-13 00:20:06 +0000
commit328708eb2504eae2ca8132c948bc3b1fc1c95243 (patch)
treeea721d8d4185cdc8650d6c128b3f7dba7fddd77d /stm/lib/usb_core.c
parentfd17921b75817a07d688ccaa9130f65c1181f910 (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/lib/usb_core.c')
-rw-r--r--stm/lib/usb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/lib/usb_core.c b/stm/lib/usb_core.c
index 4b28c085f..b0cce8804 100644
--- a/stm/lib/usb_core.c
+++ b/stm/lib/usb_core.c
@@ -617,7 +617,7 @@ USB_OTG_STS USB_OTG_CoreInitHost(USB_OTG_CORE_HANDLE *pdev)
USB_OTG_HCFG_TypeDef hcfg;
#ifdef USE_OTG_MODE
- USB_OTG_OTGCTL_TypeDef gotgctl;
+ USB_OTG_GOTGCTL_TypeDef gotgctl;
#endif
uint32_t i = 0;