File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 43
43
#elif CONFIG_IDF_TARGET_ESP32S3
44
44
#if defined __has_include && __has_include ("hal/usb_phy_ll.h" )
45
45
#include "hal/usb_phy_ll.h"
46
+ #else
47
+ #include "hal/usb_fsls_phy_ll.h"
46
48
#endif
47
49
#include "hal/usb_serial_jtag_ll.h"
48
50
#include "esp32s3/rom/usb/usb_persist.h"
@@ -502,15 +504,7 @@ static void usb_switch_to_cdc_jtag() {
502
504
#if defined __has_include && __has_include ("hal/usb_phy_ll.h" )
503
505
usb_phy_ll_int_jtag_enable (& USB_SERIAL_JTAG );
504
506
#else
505
- // usb_serial_jtag_ll_phy_set_defaults();
506
- const usb_serial_jtag_pull_override_vals_t pull_conf = {
507
- .dp_pu = 1 ,
508
- .dm_pu = 0 ,
509
- .dp_pd = 0 ,
510
- .dm_pd = 0
511
- };
512
- usb_serial_jtag_ll_phy_enable_pull_override (& pull_conf );
513
- usb_serial_jtag_ll_phy_disable_pull_override ();
507
+ usb_fsls_phy_ll_int_jtag_enable (& USB_SERIAL_JTAG );
514
508
#endif
515
509
usb_serial_jtag_ll_disable_intr_mask (USB_SERIAL_JTAG_LL_INTR_MASK );
516
510
usb_serial_jtag_ll_clr_intsts_mask (USB_SERIAL_JTAG_LL_INTR_MASK );
You can’t perform that action at this time.
0 commit comments