diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-29 16:05:56 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-29 16:05:56 +0100 |
| commit | 7aacf4da2dacf649e69139e53405e2e6a9a2cbb6 (patch) | |
| tree | 18296ce69280bd10cc9c2a0828f4b61e45782aa9 | |
| parent | ae7dd5388dca29acca5b07a591f23d95b5fbcf28 (diff) | |
| download | rockbox-7aacf4da2dacf649e69139e53405e2e6a9a2cbb6.zip rockbox-7aacf4da2dacf649e69139e53405e2e6a9a2cbb6.tar.gz rockbox-7aacf4da2dacf649e69139e53405e2e6a9a2cbb6.tar.bz2 rockbox-7aacf4da2dacf649e69139e53405e2e6a9a2cbb6.tar.xz | |
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
| -rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index 01058c4..edb84b9 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c @@ -1174,9 +1174,14 @@ bool dbg_hw_info_button(void) strcat(flags, " inv"); if(MAP[i].flags & IMX233_BUTTON_PULLUP) strcat(flags, " pull"); +#if LCD_WHITE <= LCD_HEIGHT lcd_putsf(0, line++, "%s %d %d/%d %d %s", MAP[i].name, val, MAP[i].rounds, MAP[i].threshold, raw, type); 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 |