summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 775dc50d5f..28dad06cfc 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -288,7 +288,8 @@ struct screen screens[NB_SCREENS] =
.backlight_off=&remote_backlight_off,
.is_backlight_on=&is_remote_backlight_on,
.backlight_set_timeout=&remote_backlight_set_timeout,
-#if LCD_DEPTH > 1
+
+#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
.backdrop_load=&remote_backdrop_load,
.backdrop_unload=&remote_backdrop_unload,
.backdrop_show=&remote_backdrop_show,