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.
Dependents: SDFileSystem SDFileSystem_2 SDFileSystem_3
Diff: FATFileSystem.cpp
- Revision:
- 3:ba4104de0896
- Parent:
- 2:b6669c987c8e
--- 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);