summaryrefslogtreecommitdiff
path: root/tinyusb/class/msc_device.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-12 14:08:52 +0700
committerhathach <[email protected]>2014-03-12 14:10:38 +0700
commit9ba209cda074289bbbe51dc79b4231404c8089ba (patch)
tree66e5b6590773b8466bf251000ec425ddcd6a1789 /tinyusb/class/msc_device.c
parent8f03dea95a5d8cb4ebd72b0da74cd51365c8d936 (diff)
IAR line ending warning
Diffstat (limited to 'tinyusb/class/msc_device.c')
-rw-r--r--tinyusb/class/msc_device.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/tinyusb/class/msc_device.c b/tinyusb/class/msc_device.c
index 997145499..2196a0164 100644
--- a/tinyusb/class/msc_device.c
+++ b/tinyusb/class/msc_device.c
@@ -52,17 +52,15 @@
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+
typedef struct {
- uint8_t interface_number;
- endpoint_handle_t edpt_in, edpt_out;
-
- // must be in USB ram
- ATTR_USB_MIN_ALIGNMENT uint8_t max_lun; // can STALL for one LUN
-
ATTR_USB_MIN_ALIGNMENT msc_cmd_block_wrapper_t cbw;
ATTR_USB_MIN_ALIGNMENT msc_cmd_status_wrapper_t csw;
+ ATTR_USB_MIN_ALIGNMENT uint8_t max_lun; // can STALL for one LUN
+
+ uint8_t interface_number;
+ endpoint_handle_t edpt_in, edpt_out;
}mscd_interface_t;
-TUSB_CFG_ATTR_USBRAM STATIC_VAR mscd_interface_t mscd_data;
+ATTR_USB_MIN_ALIGNMENT TUSB_CFG_ATTR_USBRAM STATIC_VAR mscd_interface_t mscd_data;
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+