summaryrefslogtreecommitdiff
path: root/firmware/common/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/file.c')
-rw-r--r--firmware/common/file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c
index 3d7722f687..770930d80a 100644
--- a/firmware/common/file.c
+++ b/firmware/common/file.c
@@ -782,7 +782,11 @@ int release_files(int volume)
782 int closed = 0; 782 int closed = 0;
783 for ( fd=0; fd<MAX_OPEN_FILES; fd++, pfile++) 783 for ( fd=0; fd<MAX_OPEN_FILES; fd++, pfile++)
784 { 784 {
785#ifdef HAVE_MULTIVOLUME
785 if (pfile->fatfile.volume == volume) 786 if (pfile->fatfile.volume == volume)
787#else
788 (void)volume;
789#endif
786 { 790 {
787 pfile->busy = false; /* mark as available, no further action */ 791 pfile->busy = false; /* mark as available, no further action */
788 closed++; 792 closed++;