USB device stack

Fork of USBDevice by mbed official

Revision:
11:eeb3cbbaa996
Parent:
10:1e3d126a322b
Child:
14:d495202c90f4
diff -r 1e3d126a322b -r eeb3cbbaa996 USBMSD/USBMSD.h
--- a/USBMSD/USBMSD.h	Thu May 30 17:16:57 2013 +0100
+++ b/USBMSD/USBMSD.h	Mon Aug 05 14:13:36 2013 +0300
@@ -184,7 +184,7 @@
         uint8_t  LUN;
         uint8_t  CBLength;
         uint8_t  CB[16];
-    } __packed CBW;
+    } PACKED CBW;
 
     // Bulk-only CSW
     typedef struct {
@@ -192,7 +192,7 @@
         uint32_t Tag;
         uint32_t DataResidue;
         uint8_t  Status;
-    } __packed CSW;
+    } PACKED CSW;
 
     //state of the bulk-only state machine
     Stage stage;