summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 20:20:45 +0700
committerhathach <[email protected]>2020-09-05 20:20:45 +0700
commit828f720207d4ded25ed533ea6c52da49c799b476 (patch)
tree54c0dbfdf9eeb0a01f5ee23ea1f380da526284f3 /examples/host
parent7ffb6acc1625022d8a79c1d408b11240707136ca (diff)
refactor hub class
- separate connect/disconnect handling - hub work with full speed, but doesn't seem to work with Low speed device (with mcb1800) - need to update msc host after migrating from isr to xfer_cb (blocked at inquiry)
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 6604623b1..d8cf993be 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -69,7 +69,7 @@
// CONFIGURATION
//--------------------------------------------------------------------
-#define CFG_TUH_HUB 0
+#define CFG_TUH_HUB 1
#define CFG_TUH_CDC 1
#define CFG_TUH_HID_KEYBOARD 1
#define CFG_TUH_HID_MOUSE 1