guard check for open iso pipe

This commit is contained in:
hathach
2013-03-07 16:10:16 +07:00
parent 66586ffb08
commit 6d30ae1f32
2 changed files with 4 additions and 3 deletions

View File

@@ -314,7 +314,7 @@ tusb_descriptor_endpoint_t const desc_ept_iso_in =
.bLength = sizeof(tusb_descriptor_endpoint_t),
.bDescriptorType = TUSB_DESC_ENDPOINT,
.bEndpointAddress = 0x83,
.bmAttributes = { .xfer = TUSB_XFER_BULK },
.bmAttributes = { .xfer = TUSB_XFER_ISOCHRONOUS },
.wMaxPacketSize = 1024,
.bInterval = 1
};