Skip to content
Permalink
Browse files

usb_dc_stm32: Fix FS mode

Fixes FS mode for STM32F7XX devices.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information...
finikorg authored and nashif committed Jul 19, 2018
1 parent 48de3ec commit 1f4e8d679b7f8b961a638c6fc3ed64fdefb87e02
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/usb/device/usb_dc_stm32.c
@@ -283,7 +283,7 @@ static int usb_dc_stm32_init(void)
#endif
usb_dc_stm32_state.pcd.Init.dev_endpoints = CONFIG_USB_NUM_BIDIR_ENDPOINTS;
usb_dc_stm32_state.pcd.Init.speed = USB_OTG_SPEED_FULL;
#ifdef USB_HS_PHYC
#if defined(USB_HS_PHYC) && defined(CONFIG_USB_HS_BASE_ADDRESS)
usb_dc_stm32_state.pcd.Init.phy_itface = USB_OTG_HS_EMBEDDED_PHY;
#else
usb_dc_stm32_state.pcd.Init.phy_itface = PCD_PHY_EMBEDDED;

0 comments on commit 1f4e8d6

Please sign in to comment.
You can’t perform that action at this time.