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