summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2020-09-04 16:23:39 +0200
committerReinhard Panhuber <[email protected]>2020-09-04 16:23:39 +0200
commit12562fc966e2c653de3f856afd7384063641dd80 (patch)
treed48b7bb3cb273cfbd1db04f75346dd107b4ec336 /test
parent338e96fa826b2e2bbb6fb489456202e9e4ec4fe2 (diff)
parent10d5dac9137adfd6c14d96e1079f08447eacd9d8 (diff)
Merge remote-tracking branch 'upstream/master' into uac2
Diffstat (limited to 'test')
-rw-r--r--test/test/support/tusb_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test/support/tusb_config.h b/test/test/support/tusb_config.h
index 80ea0a1ea..8cd99eaae 100644
--- a/test/test/support/tusb_config.h
+++ b/test/test/support/tusb_config.h
@@ -43,7 +43,10 @@
#define CFG_TUSB_MCU OPT_MCU_NRF5X
#endif
+#ifndef CFG_TUSB_RHPORT0_MODE
#define CFG_TUSB_RHPORT0_MODE (OPT_MODE_DEVICE | OPT_MODE_HIGH_SPEED)
+#endif
+
#define CFG_TUSB_OS OPT_OS_NONE
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build