mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
update to use pio hw endpoint
This commit is contained in:
parent
db6cba6a7b
commit
c25f835aea
@ -91,7 +91,8 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
|
||||
|
||||
${TOP}/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
|
||||
${TOP}/lib/Pico-PIO-USB/pio_usb.c
|
||||
${TOP}/lib/Pico-PIO-USB/pio_usb_port.c
|
||||
${TOP}/lib/Pico-PIO-USB/pio_usb_host.c
|
||||
${TOP}/lib/Pico-PIO-USB/pio_usb_hw.c
|
||||
${TOP}/lib/Pico-PIO-USB/usb_crc.c
|
||||
)
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 650130ab312e0dc9337dc52cccf34d35875abdf7
|
||||
Subproject commit 72f91ac9cdaf532eacfbe9534420341b13480441
|
@ -225,7 +225,7 @@ void __no_inline_not_in_flash_func(handle_endpoint_irq)(root_port_t* port, uint3
|
||||
|
||||
if (ep_all & mask)
|
||||
{
|
||||
endpoint_t* ep = PIO_USB_EP(ep_idx);
|
||||
pio_hw_endpoint_t* ep = PIO_USB_HW_EP(ep_idx);
|
||||
hcd_event_xfer_complete(ep->dev_addr, ep->ep_num, ep->actual_len, result, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user