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 8:e1b6802c9af8, committed 2016-04-05
- Comitter:
- ricardobtez
- Date:
- Tue Apr 05 23:51:34 2016 +0000
- Parent:
- 3:e960e2b81a3c
- Commit message:
- sf
Changed in this revision
FATFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
FATFileSystem.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/FATFileSystem.cpp Mon Mar 17 14:09:00 2014 +0000 +++ b/FATFileSystem.cpp Tue Apr 05 23:51:34 2016 +0000 @@ -126,7 +126,7 @@ return new FATDirHandle(dir); } -int FATFileSystem::mkdir(const char *name, mode_t mode) { +int FATFileSystem::mkdir(char *name, mode_t mode) { FRESULT res = f_mkdir(name); return res == 0 ? 0 : -1; }
--- a/FATFileSystem.h Mon Mar 17 14:09:00 2014 +0000 +++ b/FATFileSystem.h Tue Apr 05 23:51:34 2016 +0000 @@ -65,7 +65,7 @@ /** * Creates a directory path */ - virtual int mkdir(const char *name, mode_t mode); + virtual int mkdir(char *name, mode_t mode); virtual int disk_initialize() { return 0; } virtual int disk_status() { return 0; }