1
0
Fork 0
forked from len0rd/rockbox

usb: introduce new control request API

Change-Id: I6545d8985ab683c026f28f6a7c0e23b40d0a6506
This commit is contained in:
Aidan MacDonald 2021-09-19 11:44:38 +01:00
parent 71cc1e78fd
commit ec164c389c
15 changed files with 168 additions and 14 deletions

View file

@ -977,7 +977,7 @@ void usb_core_handle_notify(long id, intptr_t data)
}
/* called by usb_drv_int() */
void usb_core_control_request(struct usb_ctrlrequest* req)
void usb_core_legacy_control_request(struct usb_ctrlrequest* req)
{
struct usb_transfer_completion_event_data* completion_event =
&ep_data[EP_CONTROL].completion_event[EP_DIR(USB_DIR_IN)];