remove custom handler, split class handler into interface and endpoint
handler
This commit is contained in:
@@ -23,7 +23,7 @@ struct mtp_cfg_priv {
|
||||
/* Describe EndPoints configuration */
|
||||
static struct usbd_interface mtp_ep_data[2];
|
||||
|
||||
static int mtp_class_request_handler(struct usb_setup_packet *setup, uint8_t **data, uint32_t *len)
|
||||
static int mtp_class_interface_request_handler(struct usb_setup_packet *setup, uint8_t **data, uint32_t *len)
|
||||
{
|
||||
USB_LOG_DBG("MTP Class request: "
|
||||
"bRequest 0x%02x\r\n",
|
||||
|
||||
Reference in New Issue
Block a user