diff --git a/extmod/fsusermount.h b/extmod/fsusermount.h index 53442a3689..0fa353b7ef 100644 --- a/extmod/fsusermount.h +++ b/extmod/fsusermount.h @@ -42,4 +42,5 @@ typedef struct _fs_user_mount_t { } fs_user_mount_t; MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj); +MP_DECLARE_CONST_FUN_OBJ(fsuser_umount_obj); MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj); diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 0a2cc2c8e6..9115c8f6f1 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -671,6 +671,7 @@ Q(status) #if MICROPY_FSUSERMOUNT // for user-mountable block devices Q(mount) +Q(umount) Q(readonly) Q(mkfs) Q(readblocks)