extmod/fsusermount: Expose umount as a public function.
This commit is contained in:
parent
3770cd2e70
commit
0e0ce47e65
2 changed files with 2 additions and 0 deletions
|
|
@ -42,4 +42,5 @@ typedef struct _fs_user_mount_t {
|
||||||
} fs_user_mount_t;
|
} fs_user_mount_t;
|
||||||
|
|
||||||
MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj);
|
MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj);
|
||||||
|
MP_DECLARE_CONST_FUN_OBJ(fsuser_umount_obj);
|
||||||
MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj);
|
MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj);
|
||||||
|
|
|
||||||
|
|
@ -671,6 +671,7 @@ Q(status)
|
||||||
#if MICROPY_FSUSERMOUNT
|
#if MICROPY_FSUSERMOUNT
|
||||||
// for user-mountable block devices
|
// for user-mountable block devices
|
||||||
Q(mount)
|
Q(mount)
|
||||||
|
Q(umount)
|
||||||
Q(readonly)
|
Q(readonly)
|
||||||
Q(mkfs)
|
Q(mkfs)
|
||||||
Q(readblocks)
|
Q(readblocks)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue