summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-20 16:09:17 +0700
committerhathach <[email protected]>2020-04-20 16:09:17 +0700
commitd57312602dd9aadc47ae8eae943f51b585e0a228 (patch)
tree159a5a2fff37f90f175d787a588bab9b849b2435 /examples
parentf9262007ac41c9fd78e81f27b3477d606a900437 (diff)
add extra comma to HID_REPORT_ID
this make the template with Report ID look less weird to the user
Diffstat (limited to 'examples')
-rw-r--r--examples/device/hid_composite/src/usb_descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_composite/src/usb_descriptors.c b/examples/device/hid_composite/src/usb_descriptors.c
index 6bde2ff7a..02cbc17f6 100644
--- a/examples/device/hid_composite/src/usb_descriptors.c
+++ b/examples/device/hid_composite/src/usb_descriptors.c
@@ -73,8 +73,8 @@ uint8_t const * tud_descriptor_device_cb(void)
uint8_t const desc_hid_report[] =
{
- TUD_HID_REPORT_DESC_KEYBOARD( HID_REPORT_ID(REPORT_ID_KEYBOARD), ),
- TUD_HID_REPORT_DESC_MOUSE ( HID_REPORT_ID(REPORT_ID_MOUSE), )
+ TUD_HID_REPORT_DESC_KEYBOARD( HID_REPORT_ID(REPORT_ID_KEYBOARD) ),
+ TUD_HID_REPORT_DESC_MOUSE ( HID_REPORT_ID(REPORT_ID_MOUSE) )
};
// Invoked when received GET HID REPORT DESCRIPTOR