summaryrefslogtreecommitdiff
path: root/firmware/common/dir_uncached.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir_uncached.c')
-rw-r--r--firmware/common/dir_uncached.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dir_uncached.c b/firmware/common/dir_uncached.c
index 14c8522822..b850a514e7 100644
--- a/firmware/common/dir_uncached.c
+++ b/firmware/common/dir_uncached.c
@@ -95,7 +95,7 @@ DIR_UNCACHED* opendir_uncached(const char* name)
95 strlcpy(namecopy, name, sizeof(namecopy)); /* just copy */ 95 strlcpy(namecopy, name, sizeof(namecopy)); /* just copy */
96#endif 96#endif
97 97
98 if ( fat_opendir(IF_MV2(volume,) &pdir->fatdir, 0, NULL) < 0 ) { 98 if ( fat_opendir(IF_MV(volume,) &pdir->fatdir, 0, NULL) < 0 ) {
99 DEBUGF("Failed opening root dir\n"); 99 DEBUGF("Failed opening root dir\n");
100 pdir->busy = false; 100 pdir->busy = false;
101 return NULL; 101 return NULL;
@@ -122,7 +122,7 @@ DIR_UNCACHED* opendir_uncached(const char* name)
122 * as the parent directory and the resulting one (this is safe, 122 * as the parent directory and the resulting one (this is safe,
123 * in doubt, check fat_open(dir) code) which will allow this kind of 123 * in doubt, check fat_open(dir) code) which will allow this kind of
124 * (ugly) things */ 124 * (ugly) things */
125 if ( fat_opendir(IF_MV2(volume,) 125 if ( fat_opendir(IF_MV(volume,)
126 &pdir->fatdir, 126 &pdir->fatdir,
127 entry.firstcluster, 127 entry.firstcluster,
128 &pdir->fatdir) < 0 ) { 128 &pdir->fatdir) < 0 ) {