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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index f1402950a9..92fe0be63c 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1678,8 +1678,10 @@ bool dbg_mmc_info(void)
1678 (int) mmc_extract_bits(card->cid, 0, 8), 1678 (int) mmc_extract_bits(card->cid, 0, 8),
1679 (int) mmc_extract_bits(card->cid, 8, 16)); 1679 (int) mmc_extract_bits(card->cid, 8, 16));
1680 lcd_puts(0, 4, pbuf); 1680 lcd_puts(0, 4, pbuf);
1681 snprintf(pbuf, sizeof(pbuf), "Sectors: %08x", card->numsectors); 1681 snprintf(pbuf, sizeof(pbuf), "Blocks: %08lx", card->numblocks);
1682 lcd_puts(0, 5, pbuf); 1682 lcd_puts(0, 5, pbuf);
1683 snprintf(pbuf, sizeof(pbuf), "Blocksize: %d", card->blocksize);
1684 lcd_puts(0, 6, pbuf);
1683 } 1685 }
1684 else /* Technical details */ 1686 else /* Technical details */
1685 { 1687 {