From 81ddf9bded0d9e125ddafc7a5e400e74b532e295 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Thu, 18 Apr 2024 22:06:20 +0800 Subject: [PATCH] change ep0 buffer to 512 --- cherryusb_config_template.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h index 80cd44bd..7762fce2 100644 --- a/cherryusb_config_template.h +++ b/cherryusb_config_template.h @@ -33,9 +33,9 @@ /* ================= USB Device Stack Configuration ================ */ -/* Ep0 max transfer buffer, specially for receiving data from ep0 out */ +/* Ep0 in and out transfer buffer */ #ifndef CONFIG_USBDEV_REQUEST_BUFFER_LEN -#define CONFIG_USBDEV_REQUEST_BUFFER_LEN 256 +#define CONFIG_USBDEV_REQUEST_BUFFER_LEN 512 #endif /* Setup packet log for debug */