diff options
| author | [email protected] <[email protected]> | 2012-12-30 09:43:19 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-12-30 09:43:19 +0000 |
| commit | aa49ca9db38bdb623d69b050c807dbeb2d99ed24 (patch) | |
| tree | 15c1573adb493f71478ba70bb538cc27b4f89405 /components/drivers/usb/usbdevice/class/mstorage.c | |
| parent | 454455e8589697e5eb3a5a50131518c054ac9fa9 (diff) | |
change inferface handler parameter; add a protocol define
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2564 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/usb/usbdevice/class/mstorage.c')
| -rw-r--r-- | components/drivers/usb/usbdevice/class/mstorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/usb/usbdevice/class/mstorage.c b/components/drivers/usb/usbdevice/class/mstorage.c index e72f770682..000bad5b62 100644 --- a/components/drivers/usb/usbdevice/class/mstorage.c +++ b/components/drivers/usb/usbdevice/class/mstorage.c @@ -456,7 +456,7 @@ static rt_err_t _ep_out_handler(udevice_t device, uclass_t cls, rt_size_t size) *
* @return RT_EOK on successful.
*/
-static rt_err_t _interface_handler(udevice_t device, ureq_t setup)
+static rt_err_t _interface_handler(udevice_t device, uclass_t cls, ureq_t setup)
{
rt_uint8_t lun = 0;
|
