forked from len0rd/rockbox
Allow class drivers to reuse the core data buffer for control transfers. This doesn't make much difference right now, but it should keep HID memory usage lower (once HID is ready) (FS#10146 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20735 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c0da9d152
commit
3314f389ba
6 changed files with 14 additions and 10 deletions
|
@ -75,7 +75,7 @@ struct usb_class_driver {
|
|||
able to handle it, it should ack the request, and return true. Otherwise
|
||||
it should return false.
|
||||
Optional function */
|
||||
bool (*control_request)(struct usb_ctrlrequest* req);
|
||||
bool (*control_request)(struct usb_ctrlrequest* req, unsigned char *dest);
|
||||
|
||||
#ifdef HAVE_HOTSWAP
|
||||
/* Tells the driver that a hotswappable disk/card was inserted or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue