SYNOPSIS
- int usb_gadget_activate(struct usb_gadget * gadget);
ARGUMENTS
gadget
-
- the peripheral being activated
DESCRIPTION
This routine activates gadget which was previously deactivated with usb_gadget_deactivate call. It calls usb_gadget_connect if needed.
Returns zero on success, else negative errno.
COPYRIGHT