diff --git a/source/ff.c b/source/ff.c index e912765c0c6f767b4b035818bffe4abb7f4cb073..5bc849343c5549c095cfcbaf8d5de0a09368ba2f 100644 --- a/source/ff.c +++ b/source/ff.c @@ -380,7 +380,7 @@ UINT time_status = SYSTEM_TIME_ENABLE; /*system time status */ static BYTE CurrVol; /* Current drive */ #endif -#if FF_FS_LOCK +#if FF_FS_LOCK != 0 static FILESEM Files[FF_FS_LOCK]; /* Open object lock semaphores */ #endif