summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avr/cmd_fat.c2
-rw-r--r--include/avr/ffconf.h2
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) */