Skip to content
Commit cd17871c authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Dan Kalowsky
Browse files

drivers: udc: stm32: fix USB_OTG_HS_EMB_PHY macro value check



USB_OTG_HS_EMB_PHY macro is always defined, so
`defined(USB_OTG_HS_EMB_PHY)` always results in true. This means that
driver always selected `USB_OTG_SPEED_HIGH_IN_FULL` and never
`USB_OTG_SPEED_HIGH`.

Fix that by checking value of defined macro.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent f499ea0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment