summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-09-04 10:46:48 +0700
committerGitHub <[email protected]>2020-09-04 10:46:48 +0700
commited7a0de3abd12b7fefaeb2fc97607ae7d73d5419 (patch)
tree15e3453593465f5879a75fee50e2dbb765d7c6a9 /test
parentf10b8145afb6d7b78fbf31b525951b4137e1d774 (diff)
parenta8e538efe7d11291e32e016fad5910ebaf9eac43 (diff)
Merge pull request #505 from hathach/update-host
Update host
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