summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-12 15:38:15 +0700
committerhathach <[email protected]>2019-05-12 15:38:15 +0700
commit1174949308bb7595e99fd5789ebf3466cf2ab123 (patch)
tree2a04ff594ea42234c532fc4ab5f8e6f0b4603623 /src/class
parentba2136486c153edd372eadaa325dab27fe1297b2 (diff)
change tud_descriptor_string_cb() to be consistent with other descriptor callback
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_device.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h
index 9becab148..f838e6fad 100644
--- a/src/class/hid/hid_device.h
+++ b/src/class/hid/hid_device.h
@@ -68,9 +68,8 @@ bool tud_hid_mouse_report(uint8_t report_id, uint8_t buttons, int8_t x, int8_t y
// Callbacks (Weak is optional)
//--------------------------------------------------------------------+
-// Invoked when received GET HID REPORT DESCRIPTOR
-// Application return pointer to descriptor
-// Descriptor contents must exist long enough for transfer to complete
+// Invoked when received GET HID REPORT DESCRIPTOR request
+// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
uint8_t const * tud_hid_descriptor_report_cb(void);
// Invoked when received GET_REPORT control request