use hcd_frame_number() instead of uframe

This commit is contained in:
hathach
2021-05-31 18:15:47 +07:00
parent da8000d42d
commit 4e98ce9147
4 changed files with 7 additions and 14 deletions

View File

@@ -378,6 +378,8 @@ bool usbh_edpt_xfer(uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_
bool usbh_edpt_control_open(uint8_t dev_addr, uint8_t max_packet_size)
{
TU_LOG2("Open EP Control with Size = %u\r\n", max_packet_size);
tusb_desc_endpoint_t ep0_desc =
{
.bLength = sizeof(tusb_desc_endpoint_t),