|
@@ -231,7 +231,7 @@ static void MX_USB_OTG_FS_PCD_Init(void)
|
|
|
hpcd_USB_OTG_FS.Init.dev_endpoints = 6;
|
|
|
hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL;
|
|
|
hpcd_USB_OTG_FS.Init.dma_enable = DISABLE;
|
|
|
- hpcd_USB_OTG_FS.Init.ep0_mps = DEP0CTL_MPS_64;
|
|
|
+ hpcd_USB_OTG_FS.Init.ep0_mps = EP_MPS_64;
|
|
|
hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED;
|
|
|
hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE;
|
|
|
hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE;
|