Sure, seems redundant. It might not have been redundant when it
was written, that demo is. very old. You can also register
all sorts of filters and list the same callback, so you _may_
wish to be checking things there, perhaps consider it an example
of how you can still access those fields? ;)
Hi,
I have a question on
libopencm3-examples\examples\stm32\f1\lisa-m-1\usb_hid\usbhid.c .
It defines
static enum usbd_request_return_codes dfu_control_request(
usbd_device *dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len,
void (**complete)(usbd_device *dev, struct usb_s