Squeezed the disk timing info to fit the Player LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4322 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b650ceca56
commit
50c2261756
1 changed files with 4 additions and 3 deletions
|
@ -1345,9 +1345,10 @@ static bool dbg_disk_info(void)
|
|||
case 9:
|
||||
timing_info_present = identify_info[53] & (1<<1);
|
||||
if(timing_info_present) {
|
||||
snprintf(buf, 128, "Min time: %dns", identify_info[67]);
|
||||
lcd_puts(0, y++, buf);
|
||||
snprintf(buf, 128, "Min IORDY: %dns", identify_info[68]);
|
||||
lcd_puts(0, y++, "Cycle times");
|
||||
snprintf(buf, 128, "%dns/%dns",
|
||||
identify_info[67],
|
||||
identify_info[68]);
|
||||
lcd_puts(0, y++, buf);
|
||||
} else {
|
||||
lcd_puts(0, y++, "No timing info");
|
||||
|
|
Loading…
Reference in a new issue