USBMSD SD card Hello World for Mbed platforms

Dependencies:   mbed USBMSD_SD USBDevice

Revision:
21:bbe291251dde
Parent:
20:50bf1cd2e2fe
--- a/USBDevice/USBMSD/USBMSD.cpp	Sun Dec 11 15:56:08 2011 +0000
+++ b/USBDevice/USBMSD/USBMSD.cpp	Sun Dec 11 18:06:03 2011 +0000
@@ -73,7 +73,7 @@
 
     bool success = false;
     CONTROL_TRANSFER * transfer = getTransferPtr();
-    uint8_t maxLUN[1] = {0};
+    static uint8_t maxLUN[1] = {0};
 
     if (transfer->setup.bmRequestType.Type == CLASS_TYPE) {
         switch (transfer->setup.bRequest) {