Merge branch 'contrib/github_pr_17831_backport_v6.0' into 'release/v6.0'

fix(hal): correct PHY selection logic in usb_wrap_ll.h (backport v6.0)

See merge request espressif/esp-idf!43305
This commit is contained in:
Jiang Jiang Jian
2025-12-21 14:51:47 +08:00
@@ -58,8 +58,10 @@ FORCE_INLINE_ATTR void usb_wrap_ll_phy_select(usb_wrap_dev_t *hw, unsigned int p
switch (phy_idx) {
case 0:
LP_SYS.usb_ctrl.sw_usb_phy_sel = true;
break;
case 1:
LP_SYS.usb_ctrl.sw_usb_phy_sel = false;
break;
default:
break;
}