diff --git a/radio/src/gui/colorlcd/draw_functions.cpp b/radio/src/gui/colorlcd/draw_functions.cpp index 20c97918c..5715c55e6 100644 --- a/radio/src/gui/colorlcd/draw_functions.cpp +++ b/radio/src/gui/colorlcd/draw_functions.cpp @@ -76,9 +76,6 @@ void drawValueOrGVar(BitmapBuffer* dc, coord_t x, coord_t y, gvar_t value, } } -constexpr LcdFlags splash_background_color = - COLOR2FLAGS(((0xC >> 3) << 11) | ((0x3F >> 2) << 5) | (0x66 >> 3)); - void drawSleepBitmap() { lcd->reset(); @@ -87,7 +84,7 @@ void drawSleepBitmap() const BitmapBuffer* bitmap = OpenTxTheme::instance()->shutdown; if (bitmap) { lcd->drawMask((LCD_W-bitmap->width())/2, (LCD_H-bitmap->height())/2, - bitmap, splash_background_color); + bitmap, COLOR2FLAGS(WHITE)); } lcdRefresh(); @@ -104,7 +101,7 @@ void drawShutdownAnimation(uint32_t duration, uint32_t totalDuration, static const BitmapBuffer * shutdown = OpenTxTheme::instance()->shutdown; lcd->reset(); - lcd->clear(splash_background_color); + lcd->clear(COLOR2FLAGS(BLACK)); if (shutdown) { lcd->drawMask((LCD_W - shutdown->width()) / 2,