A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.
Fork of EALib by
Diff: MCIFileSystem.cpp
- Revision:
- 9:3839113c5abc
- Parent:
- 3:9d31a3c5013e
- Child:
- 12:15597e45eea0
diff -r fe3cb3fbb64e -r 3839113c5abc MCIFileSystem.cpp --- a/MCIFileSystem.cpp Wed Dec 11 12:16:40 2013 +0000 +++ b/MCIFileSystem.cpp Mon Dec 16 12:26:55 2013 +0000 @@ -1729,7 +1729,9 @@ uint32_t end = us_ticker_read() + 2*1000*1000; while ((us_ticker_read() < end) && (!_eventReceived)) { - wait(0.01); + // If the driver is having problems reading the card, adding a delay here + // might help. + //wait(0.01); } if (_eventReceived && _eventSuccess) {