Skip to content

Commit

Permalink
mmc_card: do not format to extFAT
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus committed Jan 20, 2025
1 parent 600f6c1 commit 91b7d4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firmware/hw_layer/mmc_card.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,8 @@ static BYTE formatBuff[FATFS_CLUSTER_SIZE];

static bool sdFormat()
{
FRESULT ret = f_mkfs("", FM_ANY, 1024, formatBuff, sizeof(formatBuff));
//FRESULT ret = f_mkfs("", FM_ANY, 1024, formatBuff, sizeof(formatBuff));
FRESULT ret = f_mkfs("", FM_FAT | FM_FAT32, 1024, formatBuff, sizeof(formatBuff));

if (ret) {
printError("format failed", ret);
Expand Down

0 comments on commit 91b7d4d

Please sign in to comment.