diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-04-18 20:40:50 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-04-18 20:40:50 +0000 |
commit | 3314f389baf54e74e3c52c069f8e829a701b2b94 (patch) | |
tree | 7407217cc1f7456999c653f610c44a9fab1bb6e1 /firmware/usbstack/usb_class_driver.h | |
parent | 2c0da9d15205b425276d769b4d5f1275bd6ea954 (diff) | |
download | rockbox-3314f389baf54e74e3c52c069f8e829a701b2b94.tar.gz 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.h | 2 |
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 { | |||
75 | able to handle it, it should ack the request, and return true. Otherwise | 75 | able to handle it, it should ack the request, and return true. Otherwise |
76 | it should return false. | 76 | it should return false. |
77 | Optional function */ | 77 | Optional function */ |
78 | bool (*control_request)(struct usb_ctrlrequest* req); | 78 | bool (*control_request)(struct usb_ctrlrequest* req, unsigned char *dest); |
79 | 79 | ||
80 | #ifdef HAVE_HOTSWAP | 80 | #ifdef HAVE_HOTSWAP |
81 | /* Tells the driver that a hotswappable disk/card was inserted or | 81 | /* Tells the driver that a hotswappable disk/card was inserted or |