mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +01:00
ff.c: don't build dir_read if we don't need it
This commit is contained in:
parent
0cf1b66b2e
commit
abb179e675
2
ff.c
2
ff.c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user