diff --git a/components/hal/esp32p4/include/hal/usb_wrap_ll.h b/components/hal/esp32p4/include/hal/usb_wrap_ll.h index 212a7f9dae8..f4c97f8c9e3 100644 --- a/components/hal/esp32p4/include/hal/usb_wrap_ll.h +++ b/components/hal/esp32p4/include/hal/usb_wrap_ll.h @@ -59,8 +59,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; }