summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/screen_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index a642b65..a33f14b 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -55,7 +55,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->bitmap=(screen_bitmap_func*)&lcd_remote_bitmap;
screen->bitmap_part=(screen_bitmap_part_func*)&lcd_remote_bitmap_part;
screen->set_drawmode=&lcd_remote_set_drawmode;
-#if LCD_DEPTH <= 2
+#if LCD_REMOTE_DEPTH <= 2
/* No transparency yet for grayscale and mono lcd */
screen->transparent_bitmap=(screen_bitmap_func*)&lcd_remote_bitmap;
screen->transparent_bitmap_part=(screen_bitmap_part_func*)&lcd_remote_bitmap_part;