summaryrefslogtreecommitdiff
path: root/apps/screen_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 82f80638af..acb376e92a 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -128,7 +128,7 @@ struct screen screens[NB_SCREENS] =
128 .backlight_off=&backlight_off, 128 .backlight_off=&backlight_off,
129 .is_backlight_on=&is_backlight_on, 129 .is_backlight_on=&is_backlight_on,
130 .backlight_set_timeout=&backlight_set_timeout, 130 .backlight_set_timeout=&backlight_set_timeout,
131#ifdef HAS_BUTTONBAR 131#ifdef HAVE_BUTTONBAR
132 .has_buttonbar=false 132 .has_buttonbar=false
133#endif 133#endif
134 }, 134 },
@@ -239,7 +239,7 @@ void screen_access_init(void)
239#ifdef HAVE_LCD_BITMAP 239#ifdef HAVE_LCD_BITMAP
240 if(global_settings.statusbar) 240 if(global_settings.statusbar)
241 height -= STATUSBAR_HEIGHT; 241 height -= STATUSBAR_HEIGHT;
242#ifdef HAS_BUTTONBAR 242#ifdef HAVE_BUTTONBAR
243 if(global_settings.buttonbar && display->has_buttonbar) 243 if(global_settings.buttonbar && display->has_buttonbar)
244 height -= BUTTONBAR_HEIGHT; 244 height -= BUTTONBAR_HEIGHT;
245#endif 245#endif