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 */ /* Read an object from the directory */
/*-----------------------------------------------------------------------*/ /*-----------------------------------------------------------------------*/
#if _FS_MINIMIZE <= 2 #if (_FS_MINIMIZE < 2) | (!_READONLY)
static static
FRESULT dir_read ( FRESULT dir_read (
DIR *dj /* Pointer to the directory object to store read object name */ DIR *dj /* Pointer to the directory object to store read object name */