mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 01:57:05 +08:00
[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…
x
Reference in New Issue
Block a user