Skip to content
Snippets Groups Projects
Commit ec327432 authored by Damien George's avatar Damien George
Browse files

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

parent 28899cd9
Branches
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type) { ...@@ -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) { mp_obj_t fat_vfs_listdir2(fs_user_mount_t *vfs, const char *path, bool is_str_type) {
FRESULT res; FRESULT res;
FILINFO fno; FILINFO fno;
DIR dir; FF_DIR dir;
#if !MICROPY_FATFS_OO && _USE_LFN #if !MICROPY_FATFS_OO && _USE_LFN
fno.lfname = lfn; fno.lfname = lfn;
fno.lfsize = sizeof lfn; fno.lfsize = sizeof lfn;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment