Eliminate another warning.
This commit is contained in:
parent
f96478bb99
commit
cf8a7bebf6
@ -237,6 +237,11 @@
|
|||||||
# define CONFIG_FAT_MAXFNAME CONFIG_NAME_MAX
|
# define CONFIG_FAT_MAXFNAME CONFIG_NAME_MAX
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# if CONFIG_FAT_MAXFNAME < 12
|
||||||
|
# undef CONFIG_FAT_MAXFNAME
|
||||||
|
# define CONFIG_FAT_MAXFNAME 12
|
||||||
|
# endif
|
||||||
|
|
||||||
# ifndef CONFIG_FAT_MAXFNAME /* The maximum support filename can be limited */
|
# ifndef CONFIG_FAT_MAXFNAME /* The maximum support filename can be limited */
|
||||||
# define LDIR_MAXFNAME 255 /* Max unicode characters in file name */
|
# define LDIR_MAXFNAME 255 /* Max unicode characters in file name */
|
||||||
# elif CONFIG_FAT_MAXFNAME <= 255
|
# elif CONFIG_FAT_MAXFNAME <= 255
|
||||||
|
Loading…
Reference in New Issue
Block a user