add hcd_frame_number() for pio-usb host

This commit is contained in:
hathach
2023-06-29 18:58:33 +07:00
parent fe77b6713b
commit 6284f2d722
4 changed files with 5 additions and 3 deletions

View File

@@ -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)