提交 b88638fc 编写于 作者: J JING 提交者: Gitee

update source/ff.c.

上级 b07c3e1b
......@@ -1978,7 +1978,7 @@ DWORD dir_ofs (
)
{
#if FF_USE_LFN
UINT len, nent;
UINT nlen, nent;
DWORD entry;
for (nlen = 0; fs->lfnbuf[nlen]; nlen++) ; /* Get lfn length */
nent = (dp->fn[NSFLAG] & NS_LFN) ? (nlen + 12) / 13 + 1 : 1; /* Number of entries of the lfn */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册