summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-23 14:15:35 +0700
committerhathach <[email protected]>2018-03-23 14:15:35 +0700
commite8b0500d403e71da5898cdce01708e0f8111813c (patch)
tree00398807f5412ae27c9464dd69a6da2a9f077aad /tinyusb/class
parent3e5e1f70bfc320b1940a2ab0771b1dd23e6744f3 (diff)
MSC tested with nrf52840
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/msc/msc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/msc/msc_device.c b/tinyusb/class/msc/msc_device.c
index 5b04b14ec..d01d39f55 100644
--- a/tinyusb/class/msc/msc_device.c
+++ b/tinyusb/class/msc/msc_device.c
@@ -79,7 +79,7 @@ typedef struct {
uint16_t xferred_len; // numbered of bytes transferred so far in the Data Stage
}mscd_interface_t;
-TUSB_CFG_ATTR_USBRAM STATIC_VAR mscd_interface_t mscd_data;
+TUSB_CFG_ATTR_USBRAM ATTR_USB_MIN_ALIGNMENT STATIC_VAR mscd_interface_t mscd_data;
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+