summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-03-22 10:37:06 +0700
committerGitHub <[email protected]>2023-03-22 10:37:06 +0700
commit07976ad26d4fbcad0694aa3a08294af7fd5f759f (patch)
tree582a8f1274c33bbdd5b7da28994f897d842495b1 /examples/host/hid_controller/src
parentec9c666107c0be0f8dc7c2a15e3bdea8c44a50b4 (diff)
parentf27486e19abcc020c93c0c938c71e3692c21b9f5 (diff)
Merge pull request #1968 from hathach/refactor-hid-host
Refactor hid host
Diffstat (limited to 'examples/host/hid_controller/src')
-rw-r--r--examples/host/hid_controller/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/hid_controller/src/tusb_config.h b/examples/host/hid_controller/src/tusb_config.h
index 2e0dd0dbe..f5ae2fd6f 100644
--- a/examples/host/hid_controller/src/tusb_config.h
+++ b/examples/host/hid_controller/src/tusb_config.h
@@ -97,7 +97,7 @@
#define CFG_TUH_HUB 0
#define CFG_TUH_CDC 0
-#define CFG_TUH_HID 4 // typical keyboard + mouse device can have 3-4 HID interfaces
+#define CFG_TUH_HID (3*CFG_TUH_DEVICE_MAX) // typical keyboard + mouse device can have 3-4 HID interfaces
#define CFG_TUH_MSC 0
#define CFG_TUH_VENDOR 0