subsys/usb/usb_device.c
/*
 * @brief print the contents of a setup packet
 *
 * @param [in] setup The setup packet
 *
 */
@brief print the contents of a setup packet
@param [in] setup The setup packet
@brief print the contents of a setup packet @param [ in ] setup The setup packet
static void usb_print_setup(struct usb_setup_packet *setup)
{
	setup = setup;
	SYS_LOG_DBG("SETUP\n");
	SYS_LOG_DBG("%x %x %x %x %x\n",
	    setup->bmRequestType,
	    setup->bRequest,
	    setup->wValue,
	    setup->wIndex,
	    setup->wLength);
}
static void usb_print_setup ( struct usb_setup_packet * setup ) { setup = setup ; SYS_LOG_DBG ( " \n " ) ; SYS_LOG_DBG ( " \n " , setup -> bmRequestType , setup -> bRequest , setup -> wValue , setup -> wIndex , setup -> wLength ) ; }
@brief print the contents of a setup packet
 @param [in] setup The setup packet
@brief print the contents of a setup packet @param [ in ] setup The setup packet
/* avoid compiler warning if SYS_LOG_DBG is not defined */