USB Device for NUCLEO-F103RB, STM32F103C8T6 and Maple Mini boards
Dependents: MapleMini_USBSerial STM32F103C8T6_USBKeyboard firstDelta STM32F103C8T6_USBSerial ... more
Fork of L152RE_USBDevice by
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;