Enable FATFS file lock (prevents corruption)

This commit is contained in:
d0k3 2016-12-02 12:59:34 +01:00
parent be91f8f96f
commit 6bf88bbdfb

View File

@ -229,7 +229,7 @@
/ These options have no effect at read-only configuration (_FS_READONLY = 1). */ / These options have no effect at read-only configuration (_FS_READONLY = 1). */
#define _FS_LOCK 0 #define _FS_LOCK 8
/* The option _FS_LOCK switches file lock function to control duplicated file open /* The option _FS_LOCK switches file lock function to control duplicated file open
/ and illegal operation to open objects. This option must be 0 when _FS_READONLY / and illegal operation to open objects. This option must be 0 when _FS_READONLY
/ is 1. / is 1.