diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 2 |
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, |