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.
Fork of FATFileSystem by
Revision 10:e2ab678eb692, committed 2016-07-30
- Comitter:
- p3p
- Date:
- Sat Jul 30 20:47:51 2016 +0000
- Parent:
- 7:094f84646b9f
- Commit message:
- _name is now private, use supplied getter
Changed in this revision
FATFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 094f84646b9f -r e2ab678eb692 FATFileSystem.cpp --- a/FATFileSystem.cpp Fri Dec 11 16:16:25 2015 +0000 +++ b/FATFileSystem.cpp Sat Jul 30 20:47:51 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", getName(), _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, getName(), _fsid); char n[64]; sprintf(n, "%s:/%s", _fsid, name);