summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-12 14:32:37 +0700
committerhathach <[email protected]>2026-03-12 14:32:37 +0700
commit9e5345e70228153ab4efff6f6666c4e54471a4aa (patch)
treeffae5c864f88a540b1689763dbd7494b4ad29c8e /src
parent38986e392f814e17ba51f02d68f183287529fc0c (diff)
correct default value for CFG_TUD_VENDOR_TX/RX_BUFSIZE
Diffstat (limited to 'src')
-rw-r--r--src/class/vendor/vendor_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/vendor/vendor_device.h b/src/class/vendor/vendor_device.h
index 28accc698..cdca9fd15 100644
--- a/src/class/vendor/vendor_device.h
+++ b/src/class/vendor/vendor_device.h
@@ -54,12 +54,12 @@ extern "C" {
// RX FIFO can be disabled by setting this value to 0
#ifndef CFG_TUD_VENDOR_RX_BUFSIZE
- #define CFG_TUD_VENDOR_RX_BUFSIZE 64
+ #define CFG_TUD_VENDOR_RX_BUFSIZE TUD_EPSIZE_BULK_MAX
#endif
// TX FIFO can be disabled by setting this value to 0
#ifndef CFG_TUD_VENDOR_TX_BUFSIZE
- #define CFG_TUD_VENDOR_TX_BUFSIZE 64
+ #define CFG_TUD_VENDOR_TX_BUFSIZE TUD_EPSIZE_BULK_MAX
#endif
// Vendor is buffered (FIFO mode) if both TX and RX buffers are configured