mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
extmod/vfs_fat: Update to use FF_DIR instead of DIR.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user