BaseUsbHost example program

Dependencies:   BaseUsbHost FATFileSystem mbed mbed-rtos

Revision:
5:495f7536897b
Parent:
3:6ae9a03a6145
--- a/UsbFlashDrive/UsbFlashDrive.h	Sun Jan 06 11:49:30 2013 +0000
+++ b/UsbFlashDrive/UsbFlashDrive.h	Fri Jan 25 14:55:08 2013 +0000
@@ -1,4 +1,4 @@
-// usbFlashDrive.h 2013/1/5
+// usbFlashDrive.h 2013/1/8
 #pragma once
 
 #include "FATFileSystem.h"
@@ -11,7 +11,7 @@
 #define  SCSI_CMD_WRITE_10           0x2A
 
 #pragma pack(push,1)
-typedef struct {
+struct CBW {
     uint32_t dCBWSignature;
     uint32_t dCBWTag;
     uint32_t dCBWDataTraansferLength;
@@ -19,14 +19,14 @@
     uint8_t bCBWLUN;
     uint8_t bCBWCBLength;
     uint8_t CBWCB[16];
-} CBW;
+};
 
-typedef struct {
+struct CSW {
     uint32_t dCSWSignature;
     uint32_t dCSWTag;
     uint32_t dCSWDataResidue;
     uint8_t  bCSWStatus;
-} CSW;
+};
 #pragma pack(pop)
 
 class UsbFlashDrive : public FATFileSystem {