[riot-notifications] [RIOT-OS/RIOT] usbus/hid_io: add missing header file, add RX callback function (#16689)

Nils Ollrogge notifications at github.com
Wed Aug 4 13:53:54 CEST 2021


@Ollrogge commented on this pull request.



>  }
 
 void usb_hid_io_init(usbus_t *usbus, uint8_t *report_desc,
                      size_t report_desc_size)
 {
     usbus_hid_init(usbus, &hid, _hid_rx_pipe,  report_desc, report_desc_size);
 }
+
+void usb_hid_io_set_rx_cb(usb_hid_io_t *usb_hid_io)

Once multiple HID reports are supported by the USB HID layer, this module will no longer be a singleton. Therefore I thought it would be a good idea to introduce a structure for this right now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16689#discussion_r682544689
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210804/9975a69a/attachment.htm>


More information about the notifications mailing list