A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.

Dependencies:   FATFileSystem

Dependents:   LPC4088test LPC4088test_ledonly LPC4088test_deleteall LPC4088_RAMtest ... more

Files at this revision

API Documentation at this revision

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