summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Dümpelmann <[email protected]>2020-11-04 17:11:01 +0100
committerJan Dümpelmann <[email protected]>2020-11-04 17:11:01 +0100
commitaf9f0f1cd64283116716d6bcadc9f33214e88c57 (patch)
tree7660ef678cb0cd372eb7c4ac4c5182c5dd779985 /test
parentb15c209805978dc115fe38c72b3f7c235aed42ec (diff)
parent075334af80303488a8c874255d725cb4ca15a7de (diff)
Merge remote-tracking branch 'hathach/master' into cdc_without_dtr
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