summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ab1b60aaac..63630b2ba9 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1421,8 +1421,7 @@ bool dbg_mmc_info(void)
1421 (int) mmc_extract_bits(card->cid, 0, 8), 1421 (int) mmc_extract_bits(card->cid, 0, 8),
1422 (int) mmc_extract_bits(card->cid, 8, 16)); 1422 (int) mmc_extract_bits(card->cid, 8, 16));
1423 lcd_puts(0, 4, pbuf); 1423 lcd_puts(0, 4, pbuf);
1424 snprintf(pbuf, sizeof(pbuf), "Size: %d MB", 1424 snprintf(pbuf, sizeof(pbuf), "Sectors: %08x", card->numsectors);
1425 card->numsectors * SECTOR_SIZE / (1024*1024));
1426 lcd_puts(0, 5, pbuf); 1425 lcd_puts(0, 5, pbuf);
1427 } 1426 }
1428 else /* Technical details */ 1427 else /* Technical details */