Skip to content

Commit 5a755b4

Browse files
committed
clean up
1 parent 5d4ec0b commit 5a755b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Adafruit_USBD_HID.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ bool Adafruit_USBD_HID::sendReport(uint8_t report_id, void const* report, uint8_
121121
extern "C"
122122
{
123123

124+
// Invoked when received GET HID REPORT DESCRIPTOR
125+
// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
124126
uint8_t const * tud_hid_descriptor_report_cb(void)
125127
{
126128
if (!_hid_dev) return NULL;

0 commit comments

Comments
 (0)