]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
_USE_LABEL --> FF_USE_LABEL
authorLeo C <erbl259-lmu@yahoo.de>
Sun, 22 Jul 2018 08:15:25 +0000 (10:15 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Sun, 22 Jul 2018 08:15:25 +0000 (10:15 +0200)
avr/cmd_fat.c
include/avr/ffconf.h

index 9750c38c5c09148f99c6e3bbfbb7a3efb6aa6362..fcae8b003d27c4907013fe41b060d6a46656a11c 100644 (file)
@@ -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) {
index 51a3c23633ebe325952f16dbe591d346005509cf..b6485be2aeb1825db41f2f52ed2389ad3c5c8b7e 100644 (file)
@@ -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) */