diff --git a/radio/src/gui/colorlcd/layouts/layout2x4.cpp b/radio/src/gui/colorlcd/layouts/layout2x4.cpp index 7214c8535..66bc3c186 100644 --- a/radio/src/gui/colorlcd/layouts/layout2x4.cpp +++ b/radio/src/gui/colorlcd/layouts/layout2x4.cpp @@ -89,16 +89,14 @@ void Layout2x4::paint(BitmapBuffer* dc) rect_t fullScreen = Layout::getMainZone(); fullScreen.w /= 2; if (getOptionValue(OPTION_PANEL1_BACKGROUND)->boolValue) { - lcdSetColor(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue); dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, - fullScreen.h, CUSTOM_COLOR); + fullScreen.h, COLOR2FLAGS(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue)); } if (getOptionValue(OPTION_PANEL2_BACKGROUND)->boolValue) { fullScreen.x += fullScreen.w; - lcdSetColor(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue); dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, - fullScreen.h, CUSTOM_COLOR); + fullScreen.h, COLOR2FLAGS(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue)); } }