fatfs v0.08a Aug 16,2010:
- Added f_getcwd(). (_FS_RPATH = 2) - Added sector erase feature. (_USE_ERASE) - Moved file lock semaphore table from fs object to the bss. - Fixed a wrong directory entry is created on non-LFN cfg when the given name contains ';'. - Fixed f_mkfs() creates wrong FAT32 volume.
This commit is contained in:
1 parent
46155916b1
commit
625f3adcbb
55 files changed
+865
-869
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ FRESULT f_getfree (
|
||||
if (res) die(res);
|
||||
|
||||
<span>/* 全セクタ数と空きセクタ数を計算 */</span>
|
||||
tot_sect = (fs->max_clust - 2) * fs->csize;
|
||||
tot_sect = (fs->n_fatent - 2) * fs->csize;
|
||||
fre_sect = fre_clust * fs->csize;
|
||||
|
||||
<span>/* ドライブサイズと空きサイズの表示 (512バイト/セクタと仮定) */</span>
|
||||
|
||||
Reference in new issue
Block a user