summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-06 21:46:34 +0700
committerhathach <[email protected]>2018-12-06 21:46:34 +0700
commit5b09774ae05d15cb18ff9920864535b8444a1c3c (patch)
treed43e4106fe8509308982e3a25584580a3bc3b4fa /examples/host
parent1d3583785f9f890da2e6ac720d1327ab0452f974 (diff)
clean up usbh, rename doxygen folder to docs
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 4b39d6d18..8d3e39c64 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -83,14 +83,14 @@
// DEVICE CONFIGURATION
//--------------------------------------------------------------------
-#define CFG_TUSB_HOST_HUB 0
+#define CFG_TUH_HUB 1
#define CFG_TUSB_HOST_HID_KEYBOARD 0
#define CFG_TUSB_HOST_HID_MOUSE 0
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
#define CFG_TUSB_HOST_MSC 0
#define CFG_TUSB_HOST_CDC 1
-#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUSB_HOST_HUB ? 5 : 1) // normal hub has 4 ports
+#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports
//------------- CLASS -------------//
#define CFG_TUD_CDC 0