ff.c: don't build dir_read if we don't need it

This commit is contained in:
bushing 2009-04-12 17:19:36 -07:00
parent 0cf1b66b2e
commit abb179e675

2
ff.c
View File

@ -833,7 +833,7 @@ FRESULT dir_find (
/*-----------------------------------------------------------------------*/
/* Read an object from the directory */
/*-----------------------------------------------------------------------*/
#if _FS_MINIMIZE <= 2
#if (_FS_MINIMIZE < 2) | (!_READONLY)
static
FRESULT dir_read (
DIR *dj /* Pointer to the directory object to store read object name */