Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct usb_ctrlrequest c;
- c.bRequestType = USB_DIR_OUT | USB_TYPE_STANDARD | USB_RECIP_DEVICE;
- c.bRequest = USB_REQ_SET_CONFIGURATION;
- c.wValue = <config value>;
- c.wIndex = 0;
- c.wLength = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement