[components][dfs]修复FATFS文件系统使用cat命令导致断言bug
This commit is contained in:
parent
045a49603e
commit
a5d4425ea7
|
@ -349,7 +349,6 @@ int dfs_elm_open(struct dfs_file *file)
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
file->pos = 0;
|
file->pos = 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fs == NULL)
|
if (fs == NULL)
|
||||||
|
|
Loading…
Reference in New Issue