diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-09-19 11:44:38 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-10-16 15:58:43 -0400 |
commit | ec164c389c99d8129f9d6cacda2731bde9b08257 (patch) | |
tree | 224a2f675de8e6ce82f179b38cbe44326db30ddd /firmware/usbstack/usb_core.c | |
parent | 71cc1e78fd81818428cbd1b55fcf096979b529ef (diff) | |
download | rockbox-ec164c389c99d8129f9d6cacda2731bde9b08257.tar.gz rockbox-ec164c389c99d8129f9d6cacda2731bde9b08257.zip |
usb: introduce new control request API
Change-Id: I6545d8985ab683c026f28f6a7c0e23b40d0a6506
Diffstat (limited to 'firmware/usbstack/usb_core.c')
-rw-r--r-- | firmware/usbstack/usb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index 50d93f7561..1f17872ba8 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c | |||
@@ -977,7 +977,7 @@ void usb_core_handle_notify(long id, intptr_t data) | |||
977 | } | 977 | } |
978 | 978 | ||
979 | /* called by usb_drv_int() */ | 979 | /* called by usb_drv_int() */ |
980 | void usb_core_control_request(struct usb_ctrlrequest* req) | 980 | void usb_core_legacy_control_request(struct usb_ctrlrequest* req) |
981 | { | 981 | { |
982 | struct usb_transfer_completion_event_data* completion_event = | 982 | struct usb_transfer_completion_event_data* completion_event = |
983 | &ep_data[EP_CONTROL].completion_event[EP_DIR(USB_DIR_IN)]; | 983 | &ep_data[EP_CONTROL].completion_event[EP_DIR(USB_DIR_IN)]; |