Skip to content

Commit 0e0ce47

Browse files
committed
extmod/fsusermount: Expose umount as a public function.
1 parent 3770cd2 commit 0e0ce47

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

extmod/fsusermount.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ typedef struct _fs_user_mount_t {
4242
} fs_user_mount_t;
4343

4444
MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj);
45+
MP_DECLARE_CONST_FUN_OBJ(fsuser_umount_obj);
4546
MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj);

py/qstrdefs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ Q(status)
671671
#if MICROPY_FSUSERMOUNT
672672
// for user-mountable block devices
673673
Q(mount)
674+
Q(umount)
674675
Q(readonly)
675676
Q(mkfs)
676677
Q(readblocks)

0 commit comments

Comments
 (0)