diff options
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r-- | firmware/export/lcd.h | 5 |
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 { unsigned char green; unsigned char blue; }; +#define LCD_BLACK ((struct rgb){0, 0, 0}) +#define LCD_WHITE ((struct rgb){LCD_MAX_RED, LCD_MAX_GREEN, LCD_MAX_BLUE}) #else /* monochrome */ #define LCD_MAX_LEVEL ((1 << LCD_DEPTH) - 1) - +#define LCD_BLACK 0 +#define LCD_WHITE LCD_MAX_LEVEL #endif /* Memory copy of display bitmap */ |