ece4180_team / FATFileSystem

Dependents:   SDFileSystem SDFileSystem_2 SDFileSystem_3

Files at this revision

API Documentation at this revision

Comitter:
mus3
Date:
Mon Oct 10 19:32:01 2022 +0000
Parent:
2:b6669c987c8e
Commit message:
lab3part5 rtos

Changed in this revision

FATFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/FATFileSystem.cpp	Thu Nov 29 10:56:08 2012 +0000
+++ b/FATFileSystem.cpp	Mon Oct 10 19:32:01 2022 +0000
@@ -48,7 +48,7 @@
         if(_ffs[i] == 0) {
             _ffs[i] = this;
             _fsid = i;
-            debug_if(FFS_DBG, "Mounting [%s] on ffs drive [%d]\n", _name, _fsid);
+            debug_if(FFS_DBG, "Mounting [%s] on ffs drive [%d]\n", getName(), _fsid);
             f_mount(i, &_fs);
             return;
         }
@@ -66,7 +66,7 @@
 }
 
 FileHandle *FATFileSystem::open(const char* name, int flags) {
-    debug_if(FFS_DBG, "open(%s) on filesystem [%s], drv [%d]\n", name, _name, _fsid);
+    debug_if(FFS_DBG, "open(%s) on filesystem [%s], drv [%d]\n", name, getName(), _fsid);
     char n[64];
     sprintf(n, "%d:/%s", _fsid, name);