A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.
Dependencies: FATFileSystem
Fork of EALib by
Revision 9:3839113c5abc, committed 2013-12-16
- Comitter:
- embeddedartists
- Date:
- Mon Dec 16 12:26:55 2013 +0000
- Parent:
- 8:fe3cb3fbb64e
- Child:
- 10:f2409dc07e49
- Commit message:
- Removed delay in mci_WaitForEvent to speed up card transactions.
Changed in this revision
MCIFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {