summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-06-29 22:46:24 +0700
committerGitHub <[email protected]>2023-06-29 22:46:24 +0700
commit6e1eec908a0567e2f42317c1cd186f3ab9db43cf (patch)
tree650d7753e6855761c467298c649cf4d8d23a5d46 /src/portable
parentfe77b6713bbc0c4faafaead73f11b7a7d4952976 (diff)
parent6284f2d72287396a0df153a0a7bd192c4e3847a7 (diff)
Merge pull request #2130 from hathach/hcd-frame-pio-usb
add hcd_frame_number() for pio-usb host
Diffstat (limited to 'src/portable')
-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)