summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-04-18 22:06:20 +0800
committersakumisu <[email protected]>2024-04-18 22:06:20 +0800
commit81ddf9bded0d9e125ddafc7a5e400e74b532e295 (patch)
treed3c68000dd5a16ad374e3ef2d6ad1a50ac2ab82a
parent8995cf9568410d467cf6aeb2ad370d02988c54d4 (diff)
change ep0 buffer to 512
-rw-r--r--cherryusb_config_template.h4
1 files 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 */