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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 8f7f5c5aae..d38f1ca6a9 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -121,6 +121,12 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
screen->set_drawmode=&lcd_set_drawmode;
#if LCD_DEPTH > 1
screen->bitmap=&lcd_bitmap;
+#if LCD_DEPTH == 2
+ /* No transparency yet for grayscale lcd */
+ screen->transparent_bitmap=&lcd_bitmap;
+#else
+ screen->transparent_bitmap=&lcd_bitmap_transparent;
+#endif
screen->set_background=&lcd_set_background;
#endif
screen->update_rect=&lcd_update_rect;