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 3:7f9d8e3b4941, committed 2017-03-30
- Comitter:
- javakys
- Date:
- Thu Mar 30 05:09:18 2017 +0000
- Parent:
- 2:b6669c987c8e
- Commit message:
- change _name to this->getName() due to the access violation
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 Thu Mar 30 05:09:18 2017 +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", this->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, this->getName(), _fsid);
char n[64];
sprintf(n, "%d:/%s", _fsid, name);
