mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 22:22:33 -05:00
imx233: fix button debug screen on landscape mode screen
Some players like the ZEN X-Fi have a wide but not tall screen, it is thus better to display everything on one line for each button Change-Id: Ided3d4ff689cc5d3bcc2bdba4c7e046cf7dc0954
This commit is contained in:
parent
ae7dd5388d
commit
7aacf4da2d
1 changed files with 5 additions and 0 deletions
|
|
@ -1174,9 +1174,14 @@ bool dbg_hw_info_button(void)
|
||||||
strcat(flags, " inv");
|
strcat(flags, " inv");
|
||||||
if(MAP[i].flags & IMX233_BUTTON_PULLUP)
|
if(MAP[i].flags & IMX233_BUTTON_PULLUP)
|
||||||
strcat(flags, " pull");
|
strcat(flags, " pull");
|
||||||
|
#if LCD_WHITE <= LCD_HEIGHT
|
||||||
lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val,
|
lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val,
|
||||||
MAP[i].rounds, MAP[i].threshold, raw, type);
|
MAP[i].rounds, MAP[i].threshold, raw, type);
|
||||||
lcd_putsf(0, line++, " %s%s", path, flags);
|
lcd_putsf(0, line++, " %s%s", path, flags);
|
||||||
|
#else
|
||||||
|
lcd_putsf(0, line++, "%s %d %d/%d %d %s %s%s", MAP[i].name, val,
|
||||||
|
MAP[i].rounds, MAP[i].threshold, raw, type, path, flags);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#undef MAP
|
#undef MAP
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue