update to use pio hw endpoint
This commit is contained in:
@@ -91,7 +91,8 @@ if (NOT TARGET _rp2040_family_inclusion_marker)
|
|||||||
|
|
||||||
${TOP}/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
|
${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.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
|
${TOP}/lib/Pico-PIO-USB/usb_crc.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Submodule lib/Pico-PIO-USB updated: 650130ab31...72f91ac9cd
@@ -225,7 +225,7 @@ void __no_inline_not_in_flash_func(handle_endpoint_irq)(root_port_t* port, uint3
|
|||||||
|
|
||||||
if (ep_all & mask)
|
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);
|
hcd_event_xfer_complete(ep->dev_addr, ep->ep_num, ep->actual_len, result, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user