mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
extmod: Rename vfs_fat_file.h to vfs_fat.h.
And move declaration of mp_fat_vfs_type to this file.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user