summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-07 01:23:44 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-07 01:23:44 +0000
commit8886adb9dfa00146e0fb6f5221d2b994ab46124e (patch)
tree8b0278b3f5626620dcd06092ec2ff3444975a201 /apps
parentd718786c681385941da52fc1754cc915afbb4f28 (diff)
downloadrockbox-8886adb9dfa00146e0fb6f5221d2b994ab46124e.tar.gz
rockbox-8886adb9dfa00146e0fb6f5221d2b994ab46124e.zip
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.c12
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)
1338 snprintf(pbuf, sizeof(pbuf), "Speed: %d.%01d %cBit/s", 1338 snprintf(pbuf, sizeof(pbuf), "Speed: %d.%01d %cBit/s",
1339 value / 10, value % 10, unit); 1339 value / 10, value % 10, unit);
1340 else 1340 else
1341 snprintf(pbuf, sizeof(pbuf), "Tsac: %d %cBit/s", 1341 snprintf(pbuf, sizeof(pbuf), "Speed: %d %cBit/s",
1342 value / 10, unit); 1342 value / 10, unit);
1343 lcd_puts(0, 1, pbuf); 1343 lcd_puts(0, 1, pbuf);
1344 1344
@@ -1350,20 +1350,20 @@ bool dbg_mmc_info(void)
1350 else 1350 else
1351 snprintf(pbuf, sizeof(pbuf), "Tsac: %d %cs", 1351 snprintf(pbuf, sizeof(pbuf), "Tsac: %d %cs",
1352 value / 10, unit); 1352 value / 10, unit);
1353 lcd_puts(0, 1, pbuf); 1353 lcd_puts(0, 2, pbuf);
1354 1354
1355 snprintf(pbuf, sizeof(pbuf), "Nsac: %d clk", card->nsac); 1355 snprintf(pbuf, sizeof(pbuf), "Nsac: %d clk", card->nsac);
1356 lcd_puts(0, 2, pbuf);
1357 snprintf(pbuf, sizeof(pbuf), "R2W: *%d", card->r2w_factor);
1358 lcd_puts(0, 3, pbuf); 1356 lcd_puts(0, 3, pbuf);
1357 snprintf(pbuf, sizeof(pbuf), "R2W: *%d", card->r2w_factor);
1358 lcd_puts(0, 4, pbuf);
1359 snprintf(pbuf, sizeof(pbuf), "IRmax: %d..%d mA", 1359 snprintf(pbuf, sizeof(pbuf), "IRmax: %d..%d mA",
1360 i_vmin[mmc_extract_bits(card->csd, 66, 3)], 1360 i_vmin[mmc_extract_bits(card->csd, 66, 3)],
1361 i_vmax[mmc_extract_bits(card->csd, 69, 3)]); 1361 i_vmax[mmc_extract_bits(card->csd, 69, 3)]);
1362 lcd_puts(0, 4, pbuf); 1362 lcd_puts(0, 5, pbuf);
1363 snprintf(pbuf, sizeof(pbuf), "IWmax: %d..%d mA", 1363 snprintf(pbuf, sizeof(pbuf), "IWmax: %d..%d mA",
1364 i_vmin[mmc_extract_bits(card->csd, 72, 3)], 1364 i_vmin[mmc_extract_bits(card->csd, 72, 3)],
1365 i_vmax[mmc_extract_bits(card->csd, 75, 3)]); 1365 i_vmax[mmc_extract_bits(card->csd, 75, 3)]);
1366 lcd_puts(0, 5, pbuf); 1366 lcd_puts(0, 6, pbuf);
1367 } 1367 }
1368 } 1368 }
1369 else 1369 else