summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-25 13:28:23 +0700
committerhathach <[email protected]>2021-01-25 13:28:23 +0700
commit83614418b588464873ccbd3fcaeef3d03917bd0e (patch)
tree445306f0440a097ff32e625a659d7e45fe155a2f /examples/host
parentec458292fecbf16be425e5497722f647911de969 (diff)
get all device example build with rp2040 (except freeRTOS)
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index d8cf993be..fabc7765c 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -45,7 +45,9 @@
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_HOST
#endif
+#ifndef CFG_TUSB_OS
#define CFG_TUSB_OS OPT_OS_NONE
+#endif
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
// #define CFG_TUSB_DEBUG 0