wave player

Fork of FATFileSystem by mbed official

Revision:
8:c4baca9a2c3d
Parent:
7:094f84646b9f
--- a/FATFileSystem.h	Fri Dec 11 16:16:25 2015 +0000
+++ b/FATFileSystem.h	Thu Aug 25 09:34:29 2016 +0100
@@ -26,6 +26,7 @@
 #include "FileHandle.h"
 #include "ff.h"
 #include <stdint.h>
+#include "PlatformMutex.h"
 
 using namespace mbed;
 
@@ -89,6 +90,15 @@
     virtual int disk_sync() { return 0; }
     virtual uint32_t disk_sectors() = 0;
 
+protected:
+
+    virtual void lock();
+    virtual void unlock();
+
+private:
+
+    PlatformMutex *_mutex;
+
 };
 
 #endif