diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-11 14:24:26 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-11 14:24:26 +1100 |
commit | ed848553b408e14746f0ce96c8b20517bfdede35 (patch) | |
tree | 910e0f26564a011b32c301ae792c138b6cffb92b /extmod/vfs.h | |
parent | 554c01fc256640b9e88578b9d0310b53a8786fef (diff) |
extmod/vfs: Factor out vfs mount-and-chdir helper from stm32.
Diffstat (limited to 'extmod/vfs.h')
-rw-r--r-- | extmod/vfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/vfs.h b/extmod/vfs.h index de899dd8e..23f2eac89 100644 --- a/extmod/vfs.h +++ b/extmod/vfs.h @@ -102,6 +102,8 @@ mp_obj_t mp_vfs_rmdir(mp_obj_t path_in); mp_obj_t mp_vfs_stat(mp_obj_t path_in); mp_obj_t mp_vfs_statvfs(mp_obj_t path_in); +int mp_vfs_mount_and_chdir_protected(mp_obj_t bdev, mp_obj_t mount_point); + MP_DECLARE_CONST_FUN_OBJ_KW(mp_vfs_mount_obj); MP_DECLARE_CONST_FUN_OBJ_1(mp_vfs_umount_obj); MP_DECLARE_CONST_FUN_OBJ_KW(mp_vfs_open_obj); |