Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module

Dependents:   DMSupport DMSupport DMSupport DMSupport

Fork of DM_USBHost by EmbeddedArtists AB

Revision:
27:aa2fd412f1d3
Parent:
26:607951c26872
--- a/USBHostMSD/USBHostMSD.h	Mon Aug 18 13:45:26 2014 +0100
+++ b/USBHostMSD/USBHostMSD.h	Tue Dec 02 15:16:39 2014 +0000
@@ -35,6 +35,7 @@
     * @param rootdir mount name
     */
     USBHostMSD(const char * rootdir);
+    virtual ~USBHostMSD();
 
     /**
     * Check if a MSD device is connected
@@ -91,8 +92,8 @@
         uint8_t  Status;
     } PACKED CSW;
 
-    CBW cbw;
-    CSW csw;
+    CBW* cbw;
+    CSW* csw;
 
     int SCSITransfer(uint8_t * cmd, uint8_t cmd_len, int flags, uint8_t * data, uint32_t transfer_len);
     int testUnitReady();