summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/vfs.c')
-rw-r--r--extmod/vfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/vfs.c b/extmod/vfs.c
index 8bcead190d..2799622b38 100644
--- a/extmod/vfs.c
+++ b/extmod/vfs.c
@@ -547,4 +547,7 @@ int mp_vfs_mount_and_chdir_protected(mp_obj_t bdev, mp_obj_t mount_point) {
return ret;
}
+MP_REGISTER_ROOT_POINTER(struct _mp_vfs_mount_t *vfs_cur);
+MP_REGISTER_ROOT_POINTER(struct _mp_vfs_mount_t *vfs_mount_table);
+
#endif // MICROPY_VFS