summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/vfs_fat_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/vfs_fat_misc.c')
-rw-r--r--extmod/vfs_fat_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/vfs_fat_misc.c b/extmod/vfs_fat_misc.c
index 489e535868..2f06d9f637 100644
--- a/extmod/vfs_fat_misc.c
+++ b/extmod/vfs_fat_misc.c
@@ -54,7 +54,7 @@ mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type) {
mp_obj_t fat_vfs_listdir2(fs_user_mount_t *vfs, const char *path, bool is_str_type) {
FRESULT res;
FILINFO fno;
- DIR dir;
+ FF_DIR dir;
#if !MICROPY_FATFS_OO && _USE_LFN
fno.lfname = lfn;
fno.lfsize = sizeof lfn;