mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 23:43:23 +00:00
Enable iso buffers per rp2040 spec
This commit is contained in:
parent
1b849fc70a
commit
79b360f0a6
@ -154,6 +154,14 @@ void _hw_endpoint_xfer_start(struct hw_endpoint *ep, uint8_t *buffer, uint16_t t
|
||||
ep->total_len = total_len;
|
||||
ep->len = 0;
|
||||
// FIXME: What if low speed
|
||||
if(ep->transfer_type == TUSB_XFER_ISOCHRONOUS)
|
||||
{
|
||||
ep->transfer_size = total_len; //There is an assumption that the max buffer size of 1023 or 1024 was checked before this
|
||||
}
|
||||
else
|
||||
{
|
||||
ep->transfer_size = total_len > 64 ? 64 : total_len;
|
||||
}
|
||||
ep->transfer_size = total_len > 64 ? 64 : total_len;
|
||||
ep->active = true;
|
||||
ep->user_buf = buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user