drivers/usb/device: stm32: Remove reference to unsupported low speed
Low speed isn't supported in device mode for any of the STM32 references. Remove the code that refer to it. Fixes #17114 Signed-off-by: Johann Fischer <j.fischer@phytec.de> Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
f1c5586523
commit
6b40394df9
1 changed files with 0 additions and 2 deletions
|
@ -322,8 +322,6 @@ static u32_t usb_dc_stm32_get_maximum_speed(void)
|
|||
#else
|
||||
speed = USB_OTG_SPEED_FULL;
|
||||
#endif /* DT_COMPAT_ST_STM32_USBPHYC && DT_USB_HS_BASE_ADDRESS */
|
||||
} else if (!strncmp(DT_USB_MAXIMUM_SPEED, "low-speed", 9)) {
|
||||
speed = USB_OTG_SPEED_LOW;
|
||||
} else {
|
||||
LOG_DBG("Unsupported maximum speed defined in device tree. "
|
||||
"USB controller will default to its maximum HW "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue