diff options
Diffstat (limited to 'extmod')
-rw-r--r-- | extmod/vfs_fat.c | 2 | ||||
-rw-r--r-- | extmod/vfs_fat.h (renamed from extmod/vfs_fat_file.h) | 1 | ||||
-rw-r--r-- | extmod/vfs_fat_ffconf.c | 2 | ||||
-rw-r--r-- | extmod/vfs_fat_file.c | 2 | ||||
-rw-r--r-- | extmod/vfs_fat_misc.c | 2 | ||||
-rw-r--r-- | extmod/vfs_fat_reader.c | 2 |
6 files changed, 6 insertions, 5 deletions
diff --git a/extmod/vfs_fat.c b/extmod/vfs_fat.c index 36bdb5dbde..36e5031a83 100644 --- a/extmod/vfs_fat.c +++ b/extmod/vfs_fat.c @@ -37,7 +37,7 @@ #include "py/runtime.h" #include "py/mperrno.h" #include "lib/oofatfs/ff.h" -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" #include "extmod/fsusermount.h" #include "timeutils.h" diff --git a/extmod/vfs_fat_file.h b/extmod/vfs_fat.h index 9693aa04a2..441b35c045 100644 --- a/extmod/vfs_fat_file.h +++ b/extmod/vfs_fat.h @@ -27,6 +27,7 @@ struct _fs_user_mount_t; extern const byte fresult_to_errno_table[20]; +extern const mp_obj_type_t mp_fat_vfs_type; struct _fs_user_mount_t *ff_get_vfs(const char **path); diff --git a/extmod/vfs_fat_ffconf.c b/extmod/vfs_fat_ffconf.c index ddcdd88444..89081380e1 100644 --- a/extmod/vfs_fat_ffconf.c +++ b/extmod/vfs_fat_ffconf.c @@ -36,7 +36,7 @@ #include "lib/fatfs/ff.h" #endif #include "extmod/fsusermount.h" -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" STATIC bool check_path(const TCHAR **path, const char *mount_point_str, mp_uint_t mount_point_len) { if (strncmp(*path, mount_point_str, mount_point_len) == 0) { diff --git a/extmod/vfs_fat_file.c b/extmod/vfs_fat_file.c index 6651d70d05..ea332709e4 100644 --- a/extmod/vfs_fat_file.c +++ b/extmod/vfs_fat_file.c @@ -42,7 +42,7 @@ #include "lib/fatfs/ff.h" #endif #include "extmod/fsusermount.h" -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" #if MICROPY_VFS_FAT #define mp_type_fileio fatfs_type_fileio diff --git a/extmod/vfs_fat_misc.c b/extmod/vfs_fat_misc.c index 5e89009cd3..ea267a15fa 100644 --- a/extmod/vfs_fat_misc.c +++ b/extmod/vfs_fat_misc.c @@ -37,7 +37,7 @@ #else #include "lib/fatfs/ff.h" #endif -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" #include "extmod/fsusermount.h" #include "py/lexer.h" diff --git a/extmod/vfs_fat_reader.c b/extmod/vfs_fat_reader.c index efd2de0c16..b9abf3ad71 100644 --- a/extmod/vfs_fat_reader.c +++ b/extmod/vfs_fat_reader.c @@ -38,7 +38,7 @@ #include "lib/fatfs/ff.h" #endif #include "extmod/fsusermount.h" -#include "extmod/vfs_fat_file.h" +#include "extmod/vfs_fat.h" typedef struct _mp_reader_fatfs_t { FIL fp; |