summaryrefslogtreecommitdiff
path: root/src/portable/microchip
diff options
context:
space:
mode:
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)