forked from espressif/esp-idf
fix: add missing break statements to usb_serial_jtag_ll_phy_select,
Closes https://github.com/espressif/esp-idf/pull/15499
This commit is contained in:
@@ -228,8 +228,10 @@ FORCE_INLINE_ATTR void usb_serial_jtag_ll_phy_select(unsigned int phy_idx)
|
||||
switch (phy_idx) {
|
||||
case 0:
|
||||
LP_SYS.usb_ctrl.sw_usb_phy_sel = false;
|
||||
break;
|
||||
case 1:
|
||||
LP_SYS.usb_ctrl.sw_usb_phy_sel = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user