summaryrefslogtreecommitdiff
path: root/src/class/usbtmc/usbtmc_device.h
diff options
context:
space:
mode:
authorNConrad <[email protected]>2022-06-21 21:27:52 -0400
committerNConrad <[email protected]>2022-06-21 21:27:52 -0400
commite9c29e6a2d42f931ededbc3ad1467cdd5dc1ea33 (patch)
treedc4b8ac5beb6263fa7ddcf2e1983b2b0d3c86b9c /src/class/usbtmc/usbtmc_device.h
parentae8b8f0c93885e3078f12c9ef00d65faa835d507 (diff)
Update USBTMC driver to support dynamic packet sizes (based on descriptor).
Diffstat (limited to 'src/class/usbtmc/usbtmc_device.h')
-rw-r--r--src/class/usbtmc/usbtmc_device.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/class/usbtmc/usbtmc_device.h b/src/class/usbtmc/usbtmc_device.h
index 5dc4d2dff..144b3315d 100644
--- a/src/class/usbtmc/usbtmc_device.h
+++ b/src/class/usbtmc/usbtmc_device.h
@@ -35,10 +35,6 @@
#define CFG_TUD_USBTMC_ENABLE_488 (1)
#endif
-// USB spec says that full-speed must be 8,16,32, or 64.
-// However, this driver implementation requires it to be >=32
-#define USBTMCD_MAX_PACKET_SIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)
-
/***********************************************
* Functions to be implemeted by the class implementation
*/