summaryrefslogtreecommitdiff
path: root/src/portable/microchip
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-24 14:39:02 +0700
committerhathach <[email protected]>2021-10-24 14:39:02 +0700
commit109b7a666155eb1b59bf946be7319ac11bc625ea (patch)
tree9470e3220e706367c8a7f774fcdf706c7f00350c /src/portable/microchip
parent5af989384bd95dbf16f824bcc48e56f3ea283080 (diff)
more wMaxPacketSize
Diffstat (limited to 'src/portable/microchip')
-rw-r--r--src/portable/microchip/samx7x/dcd_samx7x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c
index d716e8fed..9e3b43840 100644
--- a/src/portable/microchip/samx7x/dcd_samx7x.c
+++ b/src/portable/microchip/samx7x/dcd_samx7x.c
@@ -84,7 +84,7 @@ static xfer_ctl_t xfer_status[EP_MAX];
static const tusb_desc_endpoint_t ep0_desc =
{
.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)