summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-05-13 22:26:19 +0200
committerHiFiPhile <[email protected]>2024-05-13 22:26:19 +0200
commite250b82377aa9c1433c6235501c72dd079544c75 (patch)
tree1c1dcffc81e0b95d06df286ac68877f24c2b285c /src/tusb_option.h
parent0fce7d1f54f5fc405bee3ac20ad6bbdb966abcd0 (diff)
Adjust logic.
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 8d5527936..058427e0e 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -364,6 +364,11 @@
#define CFG_TUD_INTERFACE_MAX 16
#endif
+// USB 2.0 compliance test mode support
+#ifndef CFG_TUD_TEST_MODE
+ #define CFG_TUD_TEST_MODE 0
+#endif
+
//------------- Device Class Driver -------------//
#ifndef CFG_TUD_BTH
#define CFG_TUD_BTH 0