summaryrefslogtreecommitdiff
path: root/stm/lib/usb_core.c
diff options
context:
space:
mode:
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;