[components][dfs]修复FATFS文件系统使用cat命令导致断言bug

This commit is contained in:
Yuqiang Wang 2023-12-28 18:51:56 +08:00 committed by GitHub
parent 045a49603e
commit a5d4425ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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)