From ec3274324b0f7460f0276957184dc4b9f33a9bc7 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Sun, 29 Jan 2017 23:05:33 +1100
Subject: [PATCH] extmod/vfs_fat: Update to use FF_DIR instead of DIR.

---
 extmod/vfs_fat_misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extmod/vfs_fat_misc.c b/extmod/vfs_fat_misc.c
index 489e53586..2f06d9f63 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;
-- 
GitLab