From 2644fc6c9e8484eb63a339480fff821744dcd337 Mon Sep 17 00:00:00 2001 From: eshifri Date: Sat, 19 Jun 2021 11:24:18 -0700 Subject: [PATCH] Fixed formatting --- radio/src/gui/colorlcd/layouts/layout2x4.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/colorlcd/layouts/layout2x4.cpp b/radio/src/gui/colorlcd/layouts/layout2x4.cpp index 106b60d18..17c2bc0e7 100644 --- a/radio/src/gui/colorlcd/layouts/layout2x4.cpp +++ b/radio/src/gui/colorlcd/layouts/layout2x4.cpp @@ -86,16 +86,18 @@ class Layout2x4: public Layout void Layout2x4::paint(BitmapBuffer* dc) { rect_t fullScreen = Layout::getMainZone(); - fullScreen.w /=2; + 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); + dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, + fullScreen.h, CUSTOM_COLOR); } 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); + dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, + fullScreen.h, CUSTOM_COLOR); } Layout::paint(dc); }