diff options
| author | Ha Thach <[email protected]> | 2023-06-29 22:46:24 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-29 22:46:24 +0700 |
| commit | 6e1eec908a0567e2f42317c1cd186f3ab9db43cf (patch) | |
| tree | 650d7753e6855761c467298c649cf4d8d23a5d46 /src | |
| parent | fe77b6713bbc0c4faafaead73f11b7a7d4952976 (diff) | |
| parent | 6284f2d72287396a0df153a0a7bd192c4e3847a7 (diff) | |
Merge pull request #2130 from hathach/hcd-frame-pio-usb
add hcd_frame_number() for pio-usb host
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/pio_usb/hcd_pio_usb.c | 2 |
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) |
