mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
This demonstrates that I don't pre-build things before committing them... oops.
This commit is contained in:
parent
8d05b70a72
commit
1ceeab2702
@ -269,7 +269,7 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)
|
|||||||
uint8_t const epnum = tu_edpt_number(desc_edpt->bEndpointAddress);
|
uint8_t const epnum = tu_edpt_number(desc_edpt->bEndpointAddress);
|
||||||
uint8_t const dir = tu_edpt_dir(desc_edpt->bEndpointAddress);
|
uint8_t const dir = tu_edpt_dir(desc_edpt->bEndpointAddress);
|
||||||
|
|
||||||
TU_ASSERT((desc_edpt->wMaxPacketSize.size <= 64);
|
TU_ASSERT(desc_edpt->wMaxPacketSize.size <= 64);
|
||||||
TU_ASSERT(epnum < EP_MAX);
|
TU_ASSERT(epnum < EP_MAX);
|
||||||
|
|
||||||
xfer_ctl_t * xfer = XFER_CTL_BASE(epnum, dir);
|
xfer_ctl_t * xfer = XFER_CTL_BASE(epnum, dir);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user