diff --git a/radio/src/gui/colorlcd/layout.cpp b/radio/src/gui/colorlcd/layout.cpp index e15e41d92..b291b16ab 100644 --- a/radio/src/gui/colorlcd/layout.cpp +++ b/radio/src/gui/colorlcd/layout.cpp @@ -198,11 +198,11 @@ void Layout::checkEvents() LayoutBase::checkEvents(); decorate(); - // uint32_t now = RTOS_GET_MS(); - // if (now - lastRefresh >= LAYOUT_REFRESH) { - // lastRefresh = now; - // invalidate(); - // } + uint32_t now = RTOS_GET_MS(); + if (now - lastRefresh >= LAYOUT_REFRESH) { + lastRefresh = now; + invalidate(); + } } void Layout::decorate() diff --git a/radio/src/gui/colorlcd/topbar.cpp b/radio/src/gui/colorlcd/topbar.cpp index fe3694962..daa11a888 100644 --- a/radio/src/gui/colorlcd/topbar.cpp +++ b/radio/src/gui/colorlcd/topbar.cpp @@ -165,9 +165,9 @@ void TopBar::paint(BitmapBuffer * dc) void TopBar::checkEvents() { - // uint32_t now = RTOS_GET_MS(); - // if (now - lastRefresh >= TOPBAR_REFRESH) { - // lastRefresh = now; - // invalidate(); - // } + uint32_t now = RTOS_GET_MS(); + if (now - lastRefresh >= TOPBAR_REFRESH) { + lastRefresh = now; + invalidate(); + } }