summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-21 14:43:04 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-03-21 14:43:04 +0000
commitd5ac4c44e54db85ac18cad08635837399d752afb (patch)
tree2aa94ebcb59d4d4cdac5cf38c67ea75b3607e485 /apps
parentbe384e845129b677e70d877fe914f2cab0900abf (diff)
downloadrockbox-d5ac4c44e54db85ac18cad08635837399d752afb.tar.gz
rockbox-d5ac4c44e54db85ac18cad08635837399d752afb.tar.bz2
rockbox-d5ac4c44e54db85ac18cad08635837399d752afb.zip
Only show PP502x GPIOx_ENABLE on displays with appropriate height.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 3a1b25f742..c9b56acb3d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1101,6 +1101,7 @@ bool dbg_ports(void)
while(1)
{
line = 0;
+#if (LCD_HEIGHT / SYSFONT_HEIGHT >= 22) /* Only for displays >= 22 lines */
lcd_puts(0, line++, "GPIO ENABLE:");
lcd_putsf(0, line++, "A: %02x E: %02x I: %02x",
(unsigned int)GPIOA_ENABLE,
@@ -1119,6 +1120,7 @@ bool dbg_ports(void)
(unsigned int)GPIOH_ENABLE,
(unsigned int)GPIOL_ENABLE);
line++;
+#endif
lcd_puts(0, line++, "GPIO INPUT VAL:");
lcd_putsf(0, line++, "A: %02x E: %02x I: %02x",
(unsigned int)GPIOA_INPUT_VAL,