summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo C2018-07-22 10:15:25 +0200
committerLeo C2018-07-22 10:15:25 +0200
commit177aa6a61bf776a3095308439f2ffb7bed5bfb8c (patch)
tree0d568f24dd60be12eded9e565873abd1c28ce35e
parentd649155c6facc6edec97ea5093a20ebc394f80b3 (diff)
downloadz180-stamp-177aa6a61bf776a3095308439f2ffb7bed5bfb8c.zip
_USE_LABEL --> FF_USE_LABEL
-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) */