From: Leo C Date: Sun, 22 Jul 2018 08:15:25 +0000 (+0200) Subject: _USE_LABEL --> FF_USE_LABEL X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/commitdiff_plain/177aa6a61bf776a3095308439f2ffb7bed5bfb8c?ds=sidebyside _USE_LABEL --> FF_USE_LABEL --- 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) */