|
@@ -301,7 +301,10 @@
|
|
|
#else
|
|
|
#define FF_FS_REENTRANT 0 /* 0:Disable or 1:Enable */
|
|
|
#endif
|
|
|
-#define FF_FS_TIMEOUT 3000
|
|
|
+#ifndef RT_DFS_ELM_MUTEX_TIMEOUT
|
|
|
+#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
|
|
|
+#endif
|
|
|
+#define FF_FS_TIMEOUT RT_DFS_ELM_MUTEX_TIMEOUT
|
|
|
#define FF_SYNC_t rt_mutex_t
|
|
|
/* 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
|