summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-29 18:58:33 +0700
committerhathach <[email protected]>2023-06-29 18:58:33 +0700
commit6284f2d72287396a0df153a0a7bd192c4e3847a7 (patch)
tree650d7753e6855761c467298c649cf4d8d23a5d46 /src
parentfe77b6713bbc0c4faafaead73f11b7a7d4952976 (diff)
add hcd_frame_number() for pio-usb host
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 58b153ac3..264af2e7a 100644
--- a/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
+++ b/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c
@@ -105,7 +105,7 @@ void hcd_device_close(uint8_t rhport, uint8_t dev_addr)
uint32_t hcd_frame_number(uint8_t rhport)
{
(void) rhport;
- return 0;
+ return pio_usb_host_get_frame_number();
}
void hcd_int_enable(uint8_t rhport)