summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc/src
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-01-19 10:53:48 +0100
committerZixun LI <[email protected]>2026-01-19 10:53:48 +0100
commit7921aae6e2f824e217a5cb3da1337876bfd9d3a9 (patch)
tree26c5ad6231135e37744580e3487e6e6853f02c1d /examples/device/cdc_msc/src
parentdb08f5f3fefb91ef59526558ad79bf9d8ae84e7c (diff)
example: update comment on CDC EP size
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'examples/device/cdc_msc/src')
-rw-r--r--examples/device/cdc_msc/src/tusb_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/device/cdc_msc/src/tusb_config.h b/examples/device/cdc_msc/src/tusb_config.h
index fdb2ddf18..3f2f05f20 100644
--- a/examples/device/cdc_msc/src/tusb_config.h
+++ b/examples/device/cdc_msc/src/tusb_config.h
@@ -104,6 +104,8 @@
#define CFG_TUD_CDC_TX_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
// CDC Endpoint transfer buffer size, more is faster
+// Leave it as default size (512 for HS, 64 for FS) unless your host application
+// is able to send ZLP (Zero Length Packet) to terminate transfer !
#define CFG_TUD_CDC_EP_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
// MSC Buffer size of Device Mass storage