From 8886adb9dfa00146e0fb6f5221d2b994ab46124e Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 7 Oct 2004 01:23:44 +0000 Subject: Fix: MMC transfer speed was not displayed due to wrong line numbers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5196 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 663ea7bdf4..ccf9f81888 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1338,7 +1338,7 @@ bool dbg_mmc_info(void) snprintf(pbuf, sizeof(pbuf), "Speed: %d.%01d %cBit/s", value / 10, value % 10, unit); else - snprintf(pbuf, sizeof(pbuf), "Tsac: %d %cBit/s", + snprintf(pbuf, sizeof(pbuf), "Speed: %d %cBit/s", value / 10, unit); lcd_puts(0, 1, pbuf); @@ -1350,20 +1350,20 @@ bool dbg_mmc_info(void) else snprintf(pbuf, sizeof(pbuf), "Tsac: %d %cs", value / 10, unit); - lcd_puts(0, 1, pbuf); + lcd_puts(0, 2, pbuf); snprintf(pbuf, sizeof(pbuf), "Nsac: %d clk", card->nsac); - lcd_puts(0, 2, pbuf); - snprintf(pbuf, sizeof(pbuf), "R2W: *%d", card->r2w_factor); lcd_puts(0, 3, pbuf); + snprintf(pbuf, sizeof(pbuf), "R2W: *%d", card->r2w_factor); + lcd_puts(0, 4, pbuf); snprintf(pbuf, sizeof(pbuf), "IRmax: %d..%d mA", i_vmin[mmc_extract_bits(card->csd, 66, 3)], i_vmax[mmc_extract_bits(card->csd, 69, 3)]); - lcd_puts(0, 4, pbuf); + lcd_puts(0, 5, pbuf); snprintf(pbuf, sizeof(pbuf), "IWmax: %d..%d mA", i_vmin[mmc_extract_bits(card->csd, 72, 3)], i_vmax[mmc_extract_bits(card->csd, 75, 3)]); - lcd_puts(0, 5, pbuf); + lcd_puts(0, 6, pbuf); } } else -- cgit v1.2.3