diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-10-07 01:23:44 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-10-07 01:23:44 +0000 |
commit | 8886adb9dfa00146e0fb6f5221d2b994ab46124e (patch) | |
tree | 8b0278b3f5626620dcd06092ec2ff3444975a201 /apps | |
parent | d718786c681385941da52fc1754cc915afbb4f28 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 |