summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-04-01 23:31:43 +0700
committerhathach <[email protected]>2022-04-01 23:31:43 +0700
commitc25f835aea838f935893fdef6352fab938e11d4b (patch)
treeca88a43cdbfd6ede1926abff3932d8069e6b74db /src
parentdb6cba6a7bdf82f8c131fa2c521b86b10b4d053e (diff)
update to use pio hw endpoint
Diffstat (limited to 'src')
-rw-r--r--src/portable/raspberrypi/pio_usb/hcd_pio_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
index 037ebc132..09407851d 100644
--- a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
+++ b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
@@ -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);
}
}