summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-11-27 18:41:57 +0700
committerhathach <[email protected]>2025-11-27 18:41:57 +0700
commit9a9bf0fd7b5a005fd4701ab6cb5b1728ecc0baa2 (patch)
tree4c67b1edfec639aac4f36b398da38ad267bd0dd7 /src/common
parentf3dc2186aea9a472fe13ecab06464fbead50f0dd (diff)
change tud_vendor_rx_cb() behavior, buffer and bufsize only available when CFG_TUD_VENDOR_RX_BUFSIZE = 0
update vendor device to omit ep buf when dedicated hwfifo is supported
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 73c816e3e..d473e53e6 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -323,6 +323,11 @@ typedef struct {
tusb_speed_t speed;
} tusb_rhport_init_t;
+typedef struct {
+ uint16_t len;
+ uint8_t *buffer;
+} tusb_buffer_t;
+
//--------------------------------------------------------------------+
// USB Descriptors
//--------------------------------------------------------------------+