mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
more wMaxPacketSize
This commit is contained in:
parent
5af989384b
commit
109b7a6661
@ -256,7 +256,7 @@ static const tusb_desc_endpoint_t ep0OUT_desc =
|
|||||||
|
|
||||||
.bEndpointAddress = 0x00,
|
.bEndpointAddress = 0x00,
|
||||||
.bmAttributes = { .xfer = TUSB_XFER_CONTROL },
|
.bmAttributes = { .xfer = TUSB_XFER_CONTROL },
|
||||||
.wMaxPacketSize = { .size = CFG_TUD_ENDPOINT0_SIZE },
|
.wMaxPacketSize = CFG_TUD_ENDPOINT0_SIZE,
|
||||||
.bInterval = 0
|
.bInterval = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -267,7 +267,7 @@ static const tusb_desc_endpoint_t ep0IN_desc =
|
|||||||
|
|
||||||
.bEndpointAddress = 0x80,
|
.bEndpointAddress = 0x80,
|
||||||
.bmAttributes = { .xfer = TUSB_XFER_CONTROL },
|
.bmAttributes = { .xfer = TUSB_XFER_CONTROL },
|
||||||
.wMaxPacketSize = { .size = CFG_TUD_ENDPOINT0_SIZE },
|
.wMaxPacketSize = CFG_TUD_ENDPOINT0_SIZE,
|
||||||
.bInterval = 0
|
.bInterval = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ static xfer_ctl_t xfer_status[EP_MAX];
|
|||||||
static const tusb_desc_endpoint_t ep0_desc =
|
static const tusb_desc_endpoint_t ep0_desc =
|
||||||
{
|
{
|
||||||
.bEndpointAddress = 0x00,
|
.bEndpointAddress = 0x00,
|
||||||
.wMaxPacketSize = { .size = CFG_TUD_ENDPOINT0_SIZE },
|
.wMaxPacketSize = CFG_TUD_ENDPOINT0_SIZE,
|
||||||
};
|
};
|
||||||
|
|
||||||
TU_ATTR_ALWAYS_INLINE static inline void CleanInValidateCache(uint32_t *addr, int32_t size)
|
TU_ATTR_ALWAYS_INLINE static inline void CleanInValidateCache(uint32_t *addr, int32_t size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user