Skip to content

Commit a16739a

Browse files
Merge branch 'contrib/github_pr_17831' into 'master'
fix(hal): Fix USB PHY selection logic in usb_wrap_ll.h (GitHub PR) Closes IDFGH-16746 See merge request espressif/esp-idf!43255
2 parents a290181 + 43574a2 commit a16739a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/esp_hal_usb/esp32p4/include/hal/usb_wrap_ll.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ FORCE_INLINE_ATTR void usb_wrap_ll_phy_select(usb_wrap_dev_t *hw, unsigned int p
5858
switch (phy_idx) {
5959
case 0:
6060
LP_SYS.usb_ctrl.sw_usb_phy_sel = true;
61+
break;
6162
case 1:
6263
LP_SYS.usb_ctrl.sw_usb_phy_sel = false;
64+
break;
6365
default:
6466
break;
6567
}

0 commit comments

Comments
 (0)