diff options
-rw-r--r-- | demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h | 4 | ||||
-rw-r--r-- | ext/fatfs-0.10b-patched.7z | bin | 435792 -> 432540 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h index fe632d171..0d6a1f8df 100644 --- a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h +++ b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h @@ -191,8 +191,8 @@ / with file lock control. This feature uses bss _FS_LOCK * 12 bytes. */ -#define _FS_REENTRANT 0 /* 0:Disable or 1:Enable */ -#define _FS_TIMEOUT 1000 /* Timeout period in unit of time tick */ +#define _FS_REENTRANT 0 /* 0:Disable or 1:Enable */ +#define _FS_TIMEOUT MS2ST(1000) /* Timeout period in unit of time tick */ #define _SYNC_t semaphore_t* /* O/S dependent sync object type. e.g. HANDLE, OS_EVENT*, ID, SemaphoreHandle_t and etc.. */ /* The _FS_REENTRANT option switches the re-entrancy (thread safe) of the FatFs module. / diff --git a/ext/fatfs-0.10b-patched.7z b/ext/fatfs-0.10b-patched.7z Binary files differindex eb97c969a..bd9a7747a 100644 --- a/ext/fatfs-0.10b-patched.7z +++ b/ext/fatfs-0.10b-patched.7z |