Skip to content

Commit 0ea5930

Browse files
committed
better default cluster size (detectable)
1 parent a4601b5 commit 0ea5930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/filesys/fatfs/fatfs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ int v_stat(const char *name, struct stat *buf)
225225
FILINFO finfo;
226226
VOLINFO vinfo;
227227
unsigned mode;
228-
unsigned clustersize = 32768; /* default */
228+
unsigned clustersize = 512; /* default; this is bogus but should be overridden */
229229
#ifdef _DEBUG_FATFS
230230
__builtin_printf("v_stat(%s)\n", name);
231231
#endif

0 commit comments

Comments
 (0)