From 1174949308bb7595e99fd5789ebf3466cf2ab123 Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 12 May 2019 15:38:15 +0700 Subject: change tud_descriptor_string_cb() to be consistent with other descriptor callback --- src/class/hid/hid_device.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/class') 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 -- cgit v1.3.1