summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-01-25 17:18:24 +0700
committerGitHub <[email protected]>2021-01-25 17:18:24 +0700
commitc43ac7f1d79b25dae2d5ab073dc7d397fd9dedec (patch)
tree8086106787ab4b044deca2a5682d74e2f09eec1d /examples/host
parent469ca2f1559800f4b1eabc860336ff33ed118718 (diff)
parent6e027b1c4b454a573c6bcb9599d016d98bb6d05a (diff)
Merge pull request #603 from hathach/pico-followup
Pico followup for (ci) building examples
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