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.
Dependencies: mbed USBMSD_SD USBDevice
Diff: USBDevice/USBMSD/USBMSD.cpp
- 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) {