Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_11U24_CapacitorDose_V001
Diff: USBMSD/USBMSD.h
- Revision:
- 10:1e3d126a322b
- Parent:
- 8:335f2506f422
- Child:
- 11:eeb3cbbaa996
--- a/USBMSD/USBMSD.h	Mon Mar 04 13:37:51 2013 +0000
+++ b/USBMSD/USBMSD.h	Thu May 30 17:16:57 2013 +0100
@@ -176,7 +176,7 @@
     };
 
     // Bulk-only CBW
-    typedef __packed struct {
+    typedef struct {
         uint32_t Signature;
         uint32_t Tag;
         uint32_t DataLength;
@@ -184,15 +184,15 @@
         uint8_t  LUN;
         uint8_t  CBLength;
         uint8_t  CB[16];
-    } CBW;
+    } __packed CBW;
 
     // Bulk-only CSW
-    typedef __packed struct {
+    typedef struct {
         uint32_t Signature;
         uint32_t Tag;
         uint32_t DataResidue;
         uint8_t  Status;
-    } CSW;
+    } __packed CSW;
 
     //state of the bulk-only state machine
     Stage stage;