FatFs: Apply patch ff_12c_p1.diff.

This commit is contained in:
Jared Boone 2017-05-03 12:51:24 +01:00
parent a65fe3315c
commit fd8f5e62e1

View File

@ -3439,6 +3439,7 @@ FRESULT f_open (
fp->obj.sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Get object allocation info */
fp->obj.objsize = ld_qword(fs->dirbuf + XDIR_FileSize);
fp->obj.stat = fs->dirbuf[XDIR_GenFlags] & 2;
fp->obj.n_frag = 0;
} else
#endif
{