File tree 1 file changed +4
-4
lines changed
components/arduino_tinyusb/patches
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
dwc2_regs_t* dwc2 = DWC2_REG(rhport);
20
20
const uint8_t epnum = tu_edpt_number(p_endpoint_desc->bEndpointAddress);
21
21
@@ -266,7 +277,18 @@
22
- depctl.bm. set_data0_iso_even = 1;
22
+ depctl.set_data0_iso_even = 1;
23
23
}
24
24
if (dir == TUSB_DIR_IN) {
25
- - depctl.bm. tx_fifo_num = epnum;
26
- + //depctl.bm. tx_fifo_num = epnum;
25
+ - depctl.tx_fifo_num = epnum;
26
+ + //depctl.tx_fifo_num = epnum;
27
27
+ uint8_t fifo_num = epnum;
28
28
+ #if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)
29
29
+ // Special Case for EP5, which is used by CDC but not actually called by the driver
34
34
+ fifo_num = get_free_fifo();
35
35
+ }
36
36
+ #endif
37
- + depctl.bm. tx_fifo_num = fifo_num;
37
+ + depctl.tx_fifo_num = fifo_num;
38
38
}
39
39
40
40
dwc2_dep_t* dep = &dwc2->ep[dir == TUSB_DIR_IN ? 0 : 1][epnum];
You can’t perform that action at this time.
0 commit comments