feat(bw128): add option to invert LCD/OLED display (#4933)

This commit is contained in:
philmoz
2024-06-06 07:52:45 +10:00
committed by GitHub
parent fb2188cacd
commit 65e05085a4
15 changed files with 275 additions and 191 deletions
+4 -1
View File
@@ -979,8 +979,11 @@ PACK(struct RadioData {
#if defined(COLORLCD)
NOBACKUP(uint8_t space:7 SKIP);
#elif LCD_W == 128
uint8_t invertLCD:1; // Invert B&W LCD display
NOBACKUP(uint8_t spare:4 SKIP);
#else
NOBACKUP(uint8_t space:5 SKIP);
NOBACKUP(uint8_t spare:5 SKIP);
#endif
NOBACKUP(uint8_t getBrightness() const