summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-01-14 10:46:59 +0700
committerhathach <[email protected]>2026-01-14 10:50:39 +0700
commit86ca8fe717f379879298f6a723cafa897bae04de (patch)
tree68906cd7e332bacaa434de98ad14b3c911f0853e /src/common
parent2656c6d91e8a544cf94247724ebf360c1b66d567 (diff)
remove no-fifo mode in edpt stream API
update vendor_device.c for direct usbd xfer when either RX/TX BUFSIZE is 0 i.e CFG_TUD_VENDOR_TXRX_BUFFERED = 0
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_private.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/tusb_private.h b/src/common/tusb_private.h
index 10e12c2af..43ce7a1df 100644
--- a/src/common/tusb_private.h
+++ b/src/common/tusb_private.h
@@ -37,14 +37,6 @@
// Configuration
//--------------------------------------------------------------------+
-#if CFG_TUD_ENABLED && CFG_TUD_VENDOR && (CFG_TUD_VENDOR_TX_BUFSIZE == 0 || CFG_TUD_VENDOR_RX_BUFSIZE == 0)
- #define CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED 1
-#endif
-
-#ifndef CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED
- #define CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED 0
-#endif
-
#define TUP_USBIP_CONTROLLER_NUM 2
extern tusb_role_t _tusb_rhport_role[TUP_USBIP_CONTROLLER_NUM];