summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-03-24 12:16:15 +0700
committerGitHub <[email protected]>2020-03-24 12:16:15 +0700
commit9a48e98fadaf69a8637c5586d730754230eb68a9 (patch)
treec087e78655aa7ff789b39df0435e9b86a8eae448 /examples/device/usbtmc
parentfca4a6eabf0f2de5003700deb9df0871565cf32a (diff)
parent27ec8451a4104bdf03505c8bbd6d59d89e60273b (diff)
Merge branch 'master' into develop
Diffstat (limited to 'examples/device/usbtmc')
-rw-r--r--examples/device/usbtmc/src/tusb_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/device/usbtmc/src/tusb_config.h b/examples/device/usbtmc/src/tusb_config.h
index 5dddc2c46..b6a40355e 100644
--- a/examples/device/usbtmc/src/tusb_config.h
+++ b/examples/device/usbtmc/src/tusb_config.h
@@ -51,7 +51,9 @@
// DEVICE CONFIGURATION
//--------------------------------------------------------------------
+#ifndef CFG_TUD_ENDPOINT0_SIZE
#define CFG_TUD_ENDPOINT0_SIZE 64
+#endif
//------------- CLASS -------------//