lib/oofatfs: Update oofatfs library.
From https://github.com/micropython/oofatfs, branch work-R0.12b, commit 1e295b40550664bbaac18d95a4b6a58154464d31.
This commit is contained in:
parent
a0c729681f
commit
0390bc97ea
@ -4803,7 +4803,7 @@ FRESULT f_setlabel (
|
||||
dj.obj.fs = fs;
|
||||
|
||||
/* Get length of given volume label */
|
||||
for (slen = 0; (UINT)label[slen] >= ' '; slen++) ; /* Get name length */
|
||||
for (slen = 0; (UINT)label[slen] >= ' '; slen++) { } /* Get name length */
|
||||
|
||||
#if _FS_EXFAT
|
||||
if (fs->fs_type == FS_EXFAT) { /* On the exFAT volume */
|
||||
|
Loading…
Reference in New Issue
Block a user