mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'contrib/github_pr_17831_backport_v5.4' into 'release/v5.4'
fix(hal): correct PHY selection logic in usb_wrap_ll.h (backport v5.4) See merge request espressif/esp-idf!43303
This commit is contained in:
@@ -59,8 +59,10 @@ FORCE_INLINE_ATTR void usb_wrap_ll_phy_select(usb_wrap_dev_t *hw, unsigned int p
|
|||||||
switch (phy_idx) {
|
switch (phy_idx) {
|
||||||
case 0:
|
case 0:
|
||||||
LP_SYS.usb_ctrl.sw_usb_phy_sel = true;
|
LP_SYS.usb_ctrl.sw_usb_phy_sel = true;
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
LP_SYS.usb_ctrl.sw_usb_phy_sel = false;
|
LP_SYS.usb_ctrl.sw_usb_phy_sel = false;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user