summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screen_access.h')
-rw-r--r--apps/screen_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index eea15e86a5..54f2d64fdb 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -96,7 +96,7 @@ struct screen
#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1
unsigned (*color_to_native)(unsigned color);
#endif
-#if (LCD_DEPTH > 1) || (LCD_REMOTE_DEPTH > 1)
+#if (LCD_DEPTH > 1) || (defined(LCD_REMOTE_DEPTH) && (LCD_REMOTE_DEPTH > 1))
unsigned (*get_background)(void);
unsigned (*get_foreground)(void);
void (*set_background)(unsigned background);