From fb3ae1784e1905709f82aadb7f1c8994682f9759 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 Jan 2017 15:13:32 +1100 Subject: extmod/vfs_fat: Rework to support new generic VFS sub-system. The VfsFat object can now be mounted by the generic VFS sub-system. --- extmod/vfs_fat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extmod/vfs_fat.h') 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); -- cgit v1.2.3