From 7debad3ef283a3fec82517e2bff58e6be140f7b5 Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Sun, 14 Jul 2019 18:56:34 +0200 Subject: [PATCH] fix(max32666): Revert MXC_USBHS_MAX_PACKET back to 64 to fix USB --- .../Libraries/CMSIS/Device/Maxim/MAX32665/Include/max32665.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Include/max32665.h b/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Include/max32665.h index c00d13d7..d6ce94c4 100644 --- a/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Include/max32665.h +++ b/lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Include/max32665.h @@ -533,7 +533,7 @@ typedef enum { #define MXC_USBHS ((mxc_usbhs_regs_t*)MXC_BASE_USBHS) #define MXC_USBHS_NUM_EP 12 /* HW must have at least EP 0 CONTROL + 11 IN/OUT */ #define MXC_USBHS_NUM_DMA 8 /* HW must have at least this many DMA channels */ -#define MXC_USBHS_MAX_PACKET 512 +#define MXC_USBHS_MAX_PACKET 64 /******************************************************************************/ /* Smart DMA */ -- GitLab