We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7070f commit 734cacbCopy full SHA for 734cacb
port/dwc2/usb_glue_st.c
@@ -178,7 +178,7 @@ uint32_t usbd_get_dwc2_gccfg_conf(uint32_t reg_base)
178
usb_hsphy_init(25000000U);
179
return (1 << 23); /* Enable USB HS PHY USBx->GCCFG |= USB_OTG_GCCFG_PHYHSEN;*/
180
#elif __has_include("stm32h7rsxx.h")
181
- return (1 << 21);
+ return ((1 << 23) | (1 << 24));
182
#else
183
return 0;
184
#endif
@@ -205,6 +205,8 @@ uint32_t usbh_get_dwc2_gccfg_conf(uint32_t reg_base)
205
USB_OTG_GLB->GCCFG = (1 << 23);
206
207
208
+#elif __has_include("stm32h7rsxx.h")
209
+ return (1 << 25);
210
211
212
0 commit comments