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.
Diff: USBMSD/USBMSD.h
- Revision:
- 11:eeb3cbbaa996
- Parent:
- 10:1e3d126a322b
- Child:
- 14:d495202c90f4
--- 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;