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.
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) {
