mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
update uffs filesystem read access error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1638 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -174,7 +174,7 @@ int dfs_uffs_read(struct dfs_fd* fd, void* buf, rt_size_t count)
|
||||
RT_ASSERT(fd != RT_NULL);
|
||||
|
||||
/* update position */
|
||||
fp->pos = fd->pos;
|
||||
fd->pos = fp->pos;
|
||||
|
||||
return uffs_ReadObject(fp, buf, count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user