mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
usb: introduce new control request API
Change-Id: I6545d8985ab683c026f28f6a7c0e23b40d0a6506
This commit is contained in:
parent
71cc1e78fd
commit
ec164c389c
15 changed files with 168 additions and 14 deletions
|
|
@ -341,7 +341,7 @@ static void usb_handle_setup_rx(void)
|
|||
if (len == 8)
|
||||
{
|
||||
ISP1583_DFLOW_CTRLFUN |= DFLOW_CTRLFUN_STATUS; /* Acknowledge packet */
|
||||
usb_core_control_request((struct usb_ctrlrequest*)setup_pkt_buf);
|
||||
usb_core_legacy_control_request((struct usb_ctrlrequest*)setup_pkt_buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue