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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 30677e492e..cfc73b4a09 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -135,9 +135,12 @@ struct rgb {
135 unsigned char green; 135 unsigned char green;
136 unsigned char blue; 136 unsigned char blue;
137}; 137};
138#define LCD_BLACK ((struct rgb){0, 0, 0})
139#define LCD_WHITE ((struct rgb){LCD_MAX_RED, LCD_MAX_GREEN, LCD_MAX_BLUE})
138#else /* monochrome */ 140#else /* monochrome */
139#define LCD_MAX_LEVEL ((1 << LCD_DEPTH) - 1) 141#define LCD_MAX_LEVEL ((1 << LCD_DEPTH) - 1)
140 142#define LCD_BLACK 0
143#define LCD_WHITE LCD_MAX_LEVEL
141#endif 144#endif
142 145
143/* Memory copy of display bitmap */ 146/* Memory copy of display bitmap */