subsys: usb: validate and update endpoint address
Add the routine to validate endpoint address and update the endpoint descriptors and usb_ep_cfg_data at runtime. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
18b27b7f9d
commit
bf332d0004
2 changed files with 100 additions and 0 deletions
|
@ -167,6 +167,8 @@ struct usb_cfg_data {
|
|||
* http://www.beyondlogic.org/usbnutshell/usb5.shtml#DeviceDescriptors
|
||||
*/
|
||||
const u8_t *usb_device_description;
|
||||
/** Pointer to interface descriptor */
|
||||
const void *interface_descriptor;
|
||||
/** Callback to be notified on USB connection status change */
|
||||
usb_status_callback cb_usb_status;
|
||||
/** USB interface (Class) handler and storage space */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue