Skip to content

Commit 43574a2

Browse files
committed
fix(hal): correct PHY selection logic in usb_wrap_ll.h
1 parent d1b91b7 commit 43574a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

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

0 commit comments

Comments
 (0)