From 0390bc97eacb0de90af6a148b356faf0dd443d22 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 Jan 2017 23:18:53 +1100 Subject: [PATCH] lib/oofatfs: Update oofatfs library. From https://github.com/micropython/oofatfs, branch work-R0.12b, commit 1e295b40550664bbaac18d95a4b6a58154464d31. --- lib/oofatfs/ff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oofatfs/ff.c b/lib/oofatfs/ff.c index fca6c4f87d..346f3df970 100644 --- a/lib/oofatfs/ff.c +++ b/lib/oofatfs/ff.c @@ -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 */