Explorar el Código

fix(port/dwc2/usb_hc_dwc2): fix incorrect HFIR_RELOAD_CTRL setting

Signed-off-by: sakumisu <1203593632@qq.com>
sakumisu hace 2 semanas
padre
commit
5ffe9cbe7f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      port/dwc2/usb_hc_dwc2.c

+ 1 - 1
port/dwc2/usb_hc_dwc2.c

@@ -751,7 +751,7 @@ int usb_hc_init(struct usbh_bus *bus)
     }
 
     if (g_dwc2_hcd[bus->hcd.hcd_id].hw_params.snpsid > 0x4F54292AU) {
-        USB_OTG_HOST->HCFG |= USB_OTG_HFIR_RELOAD_CTRL;
+        USB_OTG_HOST->HFIR |= USB_OTG_HFIR_RELOAD_CTRL;
     }
 
     /* Clear all pending HC Interrupts */