updated chan_fatfs
Fork of chan_fatfs by
Diff: ffconf.h
- Revision:
- 4:f88948891a05
- Parent:
- 2:e8cd708f09ff
- Child:
- 5:2f921c306d4f
--- a/ffconf.h Tue Dec 11 23:02:31 2012 +0000 +++ b/ffconf.h Tue Dec 11 23:49:02 2012 +0000 @@ -86,7 +86,7 @@ */ -#define _USE_LFN 1 /* 0, 1 or 2 */ +#define _USE_LFN 0 /* 0, 1 or 2 */ #define _MAX_LFN 255 /* Maximum LFN length to handle (12 to 255) */ /* The _USE_LFN option switches the LFN support. / @@ -152,9 +152,9 @@ / performance and code size. */ -#define _FS_REENTRANT 0 /* 0 or 1 */ -#define _FS_TIMEOUT 1000 /* Timeout period in unit of time ticks */ -#define _SYNC_t HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */ +#define _FS_REENTRANT 1 /* 0 or 1 */ +#define _FS_TIMEOUT 1000 /* Timeout period in unit of time ticks */ +#define _SYNC_t Semaphore* /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */ /* The _FS_REENTRANT option switches the reentrancy of the FatFs module. / / 0: Disable reentrancy. _SYNC_t and _FS_TIMEOUT have no effect.