Fixes for Pico SDK 1.5

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-02-16 22:54:30 +01:00
parent 4708ae3d99
commit e47c5412cf
2 changed files with 8 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ tusb_desc_endpoint_t const desc_ep1 = {
.bDescriptorType = TUSB_DESC_ENDPOINT,
.bEndpointAddress = TUSB_DIR_IN_MASK | 1,
.bmAttributes.xfer = TUSB_XFER_BULK,
.wMaxPacketSize.size = (64),
.wMaxPacketSize = (64),
.bInterval = 0
};
@@ -141,7 +141,7 @@ tusb_desc_endpoint_t const desc_ep2 = {
.bDescriptorType = TUSB_DESC_ENDPOINT,
.bEndpointAddress = 2,
.bmAttributes.xfer = TUSB_XFER_BULK,
.wMaxPacketSize.size = (64),
.wMaxPacketSize = (64),
.bInterval = 0
};
#endif