meh

Fork of FATFileSystem by mbed official

Files at this revision

API Documentation at this revision

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; }