|
|
@@ -274,7 +274,7 @@
|
|
|
*/
|
|
|
|
|
|
|
|
|
-#define FF_FS_LOCK 0
|
|
|
+#define FF_FS_LOCK 16
|
|
|
/* The option FF_FS_LOCK switches file lock function to control duplicated file open
|
|
|
/ and illegal operation to open objects. This option must be 0 when FF_FS_READONLY
|
|
|
/ is 1.
|
|
|
@@ -286,7 +286,7 @@
|
|
|
/ lock control is independent of re-entrancy. */
|
|
|
|
|
|
|
|
|
-#define FF_FS_REENTRANT 0
|
|
|
+#define FF_FS_REENTRANT 1
|
|
|
#define FF_FS_TIMEOUT 1000
|
|
|
/* The option FF_FS_REENTRANT switches the re-entrancy (thread safe) of the FatFs
|
|
|
/ module itself. Note that regardless of this option, file access to different
|