提交 0c29f70e 编写于 作者: G Guangyao Ma

fix: liteos-m vfs重构,取消SetDefaultMountPath依赖

close #I4RV26

Change-Id: I765d34fb38026d5d24ed815b84f18248e3156afb
Signed-off-by: NGuangyao Ma <guangyao.ma@outlook.com>
上级 119b0800
...@@ -410,7 +410,6 @@ static int32_t FsDriverInit(struct HdfDeviceObject *object) ...@@ -410,7 +410,6 @@ static int32_t FsDriverInit(struct HdfDeviceObject *object)
fs[i].lfs_cfg.lookahead_size = 16; fs[i].lfs_cfg.lookahead_size = 16;
fs[i].lfs_cfg.block_cycles = 1000; fs[i].lfs_cfg.block_cycles = 1000;
SetDefaultMountPath(i, fs[i].mount_point);
int ret = mount(NULL, fs[i].mount_point, "littlefs", 0, &fs[i].lfs_cfg); int ret = mount(NULL, fs[i].mount_point, "littlefs", 0, &fs[i].lfs_cfg);
HDF_LOGI("%s: mount fs on '%s' %s\n", __func__, fs[i].mount_point, (ret == 0) ? "succeed" : "failed"); HDF_LOGI("%s: mount fs on '%s' %s\n", __func__, fs[i].mount_point, (ret == 0) ? "succeed" : "failed");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册