extmod/vfs_fat: Update to use FF_DIR instead of DIR.

This commit is contained in:
Damien George 2017-01-29 23:05:33 +11:00
parent 28899cd971
commit ec3274324b

View File

@ -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;