diff options
| author | hathach <[email protected]> | 2021-05-31 18:15:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-31 18:15:47 +0700 |
| commit | 4e98ce914774390adcdbe9e2a299f6d47852cd07 (patch) | |
| tree | d5b3e0965d1ade7a3e43a8fadfd71fc415861005 /src/host/usbh.c | |
| parent | da8000d42d6d6252eef9627efb6cf2557dfcf1d2 (diff) | |
use hcd_frame_number() instead of uframe
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index e50421b43..ca0653409 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -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), |
