diff options
| author | [email protected] <[email protected]> | 2012-12-08 03:37:33 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-12-08 03:37:33 +0000 |
| commit | 31796f101cb15fbde99efec0e8ebfef08561a498 (patch) | |
| tree | a6c55549023794fa72e2c8b401259f06141a7106 /components/drivers/usb/usbdevice/class | |
| parent | f39686ebf8189705d80947ad60642ed5975479b2 (diff) | |
csw structure address alignment
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2468 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/usb/usbdevice/class')
| -rw-r--r-- | components/drivers/usb/usbdevice/class/mstorage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/usb/usbdevice/class/mstorage.c b/components/drivers/usb/usbdevice/class/mstorage.c index c2c753ec07..d2d59f89b2 100644 --- a/components/drivers/usb/usbdevice/class/mstorage.c +++ b/components/drivers/usb/usbdevice/class/mstorage.c @@ -30,6 +30,7 @@ static uep_t ep_in, ep_out; static rt_uint8_t *buffer;
static rt_uint8_t *write_ptr;
static int status = STATUS_CBW;
+ALIGN(RT_ALIGN_SIZE)
static struct ustorage_csw csw;
static rt_device_t disk;
static rt_uint32_t _block;
|
