The wait in mci_WaitForEvent will delay all card transactions.

Dependencies:   FATFileSystem

Fork of EALib by EmbeddedArtists AB

Files at this revision

API Documentation at this revision

Comitter:
dreschpe
Date:
Sun Dec 15 21:58:56 2013 +0000
Parent:
8:fe3cb3fbb64e
Commit message:
the wait in mci_WaitForEvent will delay all card transactions.

Changed in this revision

MCIFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fe3cb3fbb64e -r da373a015d07 MCIFileSystem.cpp
--- a/MCIFileSystem.cpp	Wed Dec 11 12:16:40 2013 +0000
+++ b/MCIFileSystem.cpp	Sun Dec 15 21:58:56 2013 +0000
@@ -1729,7 +1729,7 @@
   uint32_t end = us_ticker_read() + 2*1000*1000;
   while ((us_ticker_read() < end) && (!_eventReceived))
   {
-    wait(0.01);
+    // wait(0.01);  // this delays all disk activities !!
   }
   
   if (_eventReceived && _eventSuccess) {