summaryrefslogtreecommitdiffstats
path: root/firmware/usbstack/usb_class_driver.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-04-18 20:40:50 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-04-18 20:40:50 +0000
commit3314f389baf54e74e3c52c069f8e829a701b2b94 (patch)
tree7407217cc1f7456999c653f610c44a9fab1bb6e1 /firmware/usbstack/usb_class_driver.h
parent2c0da9d15205b425276d769b4d5f1275bd6ea954 (diff)
downloadrockbox-3314f389baf54e74e3c52c069f8e829a701b2b94.tar.gz
rockbox-3314f389baf54e74e3c52c069f8e829a701b2b94.tar.bz2
rockbox-3314f389baf54e74e3c52c069f8e829a701b2b94.zip
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
Diffstat (limited to 'firmware/usbstack/usb_class_driver.h')
-rw-r--r--firmware/usbstack/usb_class_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_class_driver.h b/firmware/usbstack/usb_class_driver.h
index b51eb3e93f..36f2ea9e3d 100644
--- a/firmware/usbstack/usb_class_driver.h
+++ b/firmware/usbstack/usb_class_driver.h
@@ -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