summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 9efec9da4d..00ada116c0 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -44,8 +44,7 @@ struct viewport {
int flags;
int font;
int drawmode;
-#endif
-#if LCD_DEPTH > 1
+ /* needed for even for mono displays to support greylib */
unsigned fg_pattern;
unsigned bg_pattern;
#endif