From 177aa6a61bf776a3095308439f2ffb7bed5bfb8c Mon Sep 17 00:00:00 2001 From: Leo C Date: Sun, 22 Jul 2018 10:15:25 +0200 Subject: [PATCH] _USE_LABEL --> FF_USE_LABEL --- avr/cmd_fat.c | 2 +- include/avr/ffconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/avr/cmd_fat.c b/avr/cmd_fat.c index 9750c38..fcae8b0 100644 --- a/avr/cmd_fat.c +++ b/avr/cmd_fat.c @@ -368,7 +368,7 @@ command_ret_t do_stat(cmd_tbl_t *cmdtp UNUSED, uint_fast8_t flag UNUSED, int arg fs->n_rootdir, fs->fsize, fs->n_fatent - 2, fs->fatbase, fs->dirbase, fs->database); -#if _USE_LABEL +#if FF_USE_LABEL DWORD serial; res = f_getlabel(path, buf, &serial); if (!res) { diff --git a/include/avr/ffconf.h b/include/avr/ffconf.h index 51a3c23..b6485be 100644 --- a/include/avr/ffconf.h +++ b/include/avr/ffconf.h @@ -55,7 +55,7 @@ / (0:Disable or 1:Enable) Also FF_FS_READONLY needs to be 0 to enable this option. */ -#define FF_USE_LABEL 0 +#define FF_USE_LABEL 1 /* This option switches volume label functions, f_getlabel() and f_setlabel(). / (0:Disable or 1:Enable) */ -- 2.39.2