modified to compile for me

Fork of FATFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
Ownasaurus
Date:
Fri Nov 04 21:28:49 2016 +0000
Parent:
5:b3b3370574cf
Commit message:
unknown

Changed in this revision

FATFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r b3b3370574cf -r 14ae60c31ba4 FATFileSystem.cpp
--- a/FATFileSystem.cpp	Thu Aug 13 10:15:39 2015 +0100
+++ b/FATFileSystem.cpp	Fri Nov 04 21:28:49 2016 +0000
@@ -49,7 +49,7 @@
             _ffs[i] = this;
             _fsid[0] = '0' + i;
             _fsid[1] = '\0';
-            debug_if(FFS_DBG, "Mounting [%s] on ffs drive [%s]\n", _name, _fsid);
+            //debug_if(FFS_DBG, "Mounting [%s] on ffs drive [%s]\n", _name, _fsid);
             f_mount(&_fs, _fsid, 0);
             return;
         }
@@ -67,7 +67,7 @@
 }
 
 FileHandle *FATFileSystem::open(const char* name, int flags) {
-    debug_if(FFS_DBG, "open(%s) on filesystem [%s], drv [%s]\n", name, _name, _fsid);
+    //debug_if(FFS_DBG, "open(%s) on filesystem [%s], drv [%s]\n", name, _name, _fsid);
     char n[64];
     sprintf(n, "%s:/%s", _fsid, name);