R0.15a patch 1

January 9, 2025

FatFs fails to load the FsInfo in FAT32 volumes and the f_getfree function will always be forced
a full FAT scan which takes a long time.

This problem was appeared at R0.15a and reported via an e-mail.
This commit is contained in:
Christopher Williams
2025-01-09 16:48:01 -07:00
parent 44b3c38b23
commit ff60b17ea7
+2 -2
View File
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------/ /*----------------------------------------------------------------------------/
/ FatFs - Generic FAT Filesystem Module R0.15a / / FatFs - Generic FAT Filesystem Module R0.15a w/patch 1 /
/-----------------------------------------------------------------------------/ /-----------------------------------------------------------------------------/
/ /
/ Copyright (C) 2024, ChaN, all right reserved. / Copyright (C) 2024, ChaN, all right reserved.
@@ -194,7 +194,7 @@
#define FSI_StrucSig 484 /* FAT32 FSI: Structure signature (DWORD) */ #define FSI_StrucSig 484 /* FAT32 FSI: Structure signature (DWORD) */
#define FSI_Free_Count 488 /* FAT32 FSI: Number of free clusters (DWORD) */ #define FSI_Free_Count 488 /* FAT32 FSI: Number of free clusters (DWORD) */
#define FSI_Nxt_Free 492 /* FAT32 FSI: Last allocated cluster (DWORD) */ #define FSI_Nxt_Free 492 /* FAT32 FSI: Last allocated cluster (DWORD) */
#define FSI_TrailSig 498 /* FAT32 FSI: Trailing signature (DWORD) */ #define FSI_TrailSig 508 /* FAT32 FSI: Trailing signature (DWORD) */
#define MBR_Table 446 /* MBR: Offset of partition table in the MBR */ #define MBR_Table 446 /* MBR: Offset of partition table in the MBR */
#define SZ_PTE 16 /* MBR: Size of a partition table entry */ #define SZ_PTE 16 /* MBR: Size of a partition table entry */