aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 13:06:31 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 13:06:31 +0000
commit38e7c0e46d3851a908c6fc98fc898b413aeb62c8 (patch)
tree453b9f308cf52bcc442184d3ef42d7ac2eb09de1 /demos
parent952b0dc3fdb9db9055a67958135aca3046fd9249 (diff)
downloadChibiOS-38e7c0e46d3851a908c6fc98fc898b413aeb62c8.tar.gz
ChibiOS-38e7c0e46d3851a908c6fc98fc898b413aeb62c8.tar.bz2
ChibiOS-38e7c0e46d3851a908c6fc98fc898b413aeb62c8.zip
FatFS timeout fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8030 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/ffconf.h4
1 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.
/