summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-27 15:13:32 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-27 17:19:06 +1100
commitfb3ae1784e1905709f82aadb7f1c8994682f9759 (patch)
treeaf7621f78dc2747dc4534903eb018c1745548b0d /extmod/vfs_fat.h
parentdcb9ea72157f1d9f3b0dc306c2c31cbd647f5ee1 (diff)
extmod/vfs_fat: Rework to support new generic VFS sub-system.
The VfsFat object can now be mounted by the generic VFS sub-system.
Diffstat (limited to 'extmod/vfs_fat.h')
-rw-r--r--extmod/vfs_fat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/vfs_fat.h b/extmod/vfs_fat.h
index 441b35c04..52674eb6e 100644
--- a/extmod/vfs_fat.h
+++ b/extmod/vfs_fat.h
@@ -32,7 +32,7 @@ extern const mp_obj_type_t mp_fat_vfs_type;
struct _fs_user_mount_t *ff_get_vfs(const char **path);
mp_obj_t fatfs_builtin_open(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs);
-mp_obj_t fatfs_builtin_open_self(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs);
+mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode);
MP_DECLARE_CONST_FUN_OBJ_KW(mp_builtin_open_obj);
mp_obj_t fat_vfs_listdir(const char *path, bool is_str_type);