forked from len0rd/rockbox
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
This commit is contained in:
parent
d718786c68
commit
8886adb9df
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue