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/drivers/isp1583.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/drivers/isp1583.c')
-rw-r--r-- | firmware/drivers/isp1583.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/isp1583.c b/firmware/drivers/isp1583.c index 18a4e9c720..e60339d9fc 100644 --- a/firmware/drivers/isp1583.c +++ b/firmware/drivers/isp1583.c | |||
@@ -341,7 +341,7 @@ static void usb_handle_setup_rx(void) | |||
341 | if (len == 8) | 341 | if (len == 8) |
342 | { | 342 | { |
343 | ISP1583_DFLOW_CTRLFUN |= DFLOW_CTRLFUN_STATUS; /* Acknowledge packet */ | 343 | ISP1583_DFLOW_CTRLFUN |= DFLOW_CTRLFUN_STATUS; /* Acknowledge packet */ |
344 | usb_core_control_request((struct usb_ctrlrequest*)setup_pkt_buf); | 344 | usb_core_legacy_control_request((struct usb_ctrlrequest*)setup_pkt_buf); |
345 | } | 345 | } |
346 | else | 346 | else |
347 | { | 347 | { |