Skip to content

Commit

Permalink
Use 32k clusters as default
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Sep 6, 2016
1 parent 7d4bff6 commit ea8bd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ size_t FileDumpData(const char* path, void* buf, size_t size)
bool PartitionFormat(const char* label)
{
UINT p_size_gb = ((uint64_t) getMMCDevice(1)->total_size * 512) / (1000 * 1000 * 1000);
UINT c_size = (p_size_gb < 4) ? 0 : (p_size_gb < 15) ? 32768 : 65536;
UINT c_size = (p_size_gb < 4) ? 0 : 32768;
bool ret = (f_mkfs("0:", 0, c_size) == FR_OK);
if (ret && label) {
char label0[16];
Expand Down

0 comments on commit ea8bd48

Please sign in to comment.