summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-02-17 14:07:59 +0700
committerGitHub <[email protected]>2022-02-17 14:07:59 +0700
commit553767cc8a1948dda53ca1b3cc8d9e2bd21ca3e7 (patch)
tree59361f5459dbdd12988fc4f37a82c44217ffd903
parent358866cd0f4211d698f3cd6a95d9cf1190378ea8 (diff)
parenta53e83665eb3d5aa70794e1648e45f644a35b994 (diff)
Merge pull request #1330 from hathach/fix-HID_REPORT_ID_N
fix HID_REPORT_ID_N()
-rw-r--r--src/class/hid/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h
index 9265a2ede..20a5dd7f9 100644
--- a/src/class/hid/hid.h
+++ b/src/class/hid/hid.h
@@ -645,7 +645,7 @@ enum {
#define HID_REPORT_SIZE_N(x, n) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_SIZE, RI_TYPE_GLOBAL, n)
#define HID_REPORT_ID(x) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_ID, RI_TYPE_GLOBAL, 1),
-#define HID_REPORT_ID_N(x) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_ID, RI_TYPE_GLOBAL, n),
+#define HID_REPORT_ID_N(x, n) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_ID, RI_TYPE_GLOBAL, n),
#define HID_REPORT_COUNT(x) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_COUNT, RI_TYPE_GLOBAL, 1)
#define HID_REPORT_COUNT_N(x, n) HID_REPORT_ITEM(x, RI_GLOBAL_REPORT_COUNT, RI_TYPE_GLOBAL, n)