summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-22 20:55:42 +0700
committerhathach <[email protected]>2021-05-22 20:55:42 +0700
commit63c57ed1a4285671ba38d87b8b77fd68c55880e6 (patch)
tree1900466d9d08baf017fc50991fe30d07e4071e7a
parentad845db6a50c1d90e4f7cc45ca16a8861ee2da4d (diff)
clean p
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h4
-rw-r--r--src/class/hid/hid_host.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 8c82c0fef..8253964c0 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -86,10 +86,6 @@
#define CFG_TUH_HID_EP_BUFSIZE 64
-// Max number of reports per interface
-// E.g composite HID with keyboard + mouse + gamepad will have 3 reports
-#define CFG_TUH_HID_REPORT_MAX 4
-
#ifdef __cplusplus
}
#endif
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h
index 1b8acda05..3ac1f7c69 100644
--- a/src/class/hid/hid_host.h
+++ b/src/class/hid/hid_host.h
@@ -42,10 +42,6 @@
// Class Driver Configuration
//--------------------------------------------------------------------+
-#ifndef CFG_TUH_HID_REPORT_MAX
-#define CFG_TUH_HID_REPORT_MAX 4
-#endif
-
// TODO Highspeed interrupt can be up to 512 bytes
#ifndef CFG_TUH_HID_EP_BUFSIZE
#define CFG_TUH_HID_EP_BUFSIZE 64