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.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 2f928b7360..d0b483f3f4 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -31,6 +31,7 @@
31#include <icons.h> 31#include <icons.h>
32 32
33#include "screen_access.h" 33#include "screen_access.h"
34#include "backdrop.h"
34 35
35/* some helper functions to calculate metrics on the fly */ 36/* some helper functions to calculate metrics on the fly */
36static int screen_helper_getcharwidth(void) 37static int screen_helper_getcharwidth(void)
@@ -197,8 +198,11 @@ struct screen screens[NB_SCREENS] =
197 .backlight_off=&backlight_off, 198 .backlight_off=&backlight_off,
198 .is_backlight_on=&is_backlight_on, 199 .is_backlight_on=&is_backlight_on,
199 .backlight_set_timeout=&backlight_set_timeout, 200 .backlight_set_timeout=&backlight_set_timeout,
201 .backdrop_load=&backdrop_load,
202 .backdrop_unload=&backdrop_unload,
203 .backdrop_show=&backdrop_show,
200#ifdef HAVE_BUTTONBAR 204#ifdef HAVE_BUTTONBAR
201 .has_buttonbar=false 205 .has_buttonbar=false,
202#endif 206#endif
203 }, 207 },
204#if NB_SCREENS == 2 208#if NB_SCREENS == 2
@@ -278,7 +282,10 @@ struct screen screens[NB_SCREENS] =
278 .backlight_on=&remote_backlight_on, 282 .backlight_on=&remote_backlight_on,
279 .backlight_off=&remote_backlight_off, 283 .backlight_off=&remote_backlight_off,
280 .is_backlight_on=&is_remote_backlight_on, 284 .is_backlight_on=&is_remote_backlight_on,
281 .backlight_set_timeout=&remote_backlight_set_timeout 285 .backlight_set_timeout=&remote_backlight_set_timeout,
286 .backdrop_load=&remote_backdrop_load,
287 .backdrop_unload=&remote_backdrop_unload,
288 .backdrop_show=&remote_backdrop_show,
282 } 289 }
283#endif /* HAVE_REMOTE_LCD */ 290#endif /* HAVE_REMOTE_LCD */
284}; 291};