summaryrefslogtreecommitdiff
path: root/src/class/net/net_device.h
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <[email protected]>2026-03-22 19:54:27 +0000
committercopilot-swe-agent[bot] <[email protected]>2026-03-22 19:54:27 +0000
commitebeb495bd0cc3deb1758c6fcf79739ae5eac543d (patch)
tree0c49cc6e2c9f00a308eddd9bc0daaa699826f931 /src/class/net/net_device.h
parentcec6ea2223e9b6c814c6e3b17d88e54324d4f957 (diff)
net: remove CFG_TUD_NET_ENDPOINT_SIZE, manage ZLP based on real speed in drivers
Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/5d355974-2223-4071-8d14-b6d4ac1fd030
Diffstat (limited to 'src/class/net/net_device.h')
-rw-r--r--src/class/net/net_device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/class/net/net_device.h b/src/class/net/net_device.h
index 96c03fd61..849f8a2f9 100644
--- a/src/class/net/net_device.h
+++ b/src/class/net/net_device.h
@@ -35,9 +35,6 @@
#error "Cannot enable both ECM_RNDIS and NCM network drivers"
#endif
-/* declared here, NOT in usb_descriptors.c, so that the driver can intelligently ZLP as needed */
-#define CFG_TUD_NET_ENDPOINT_SIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
-
/* Maximum Transmission Unit (in bytes) of the network, including Ethernet header */
#ifndef CFG_TUD_NET_MTU
#define CFG_TUD_NET_MTU 1514