From 23963735761a47b50ccd9dfd64ce1bd9cb820e2d Mon Sep 17 00:00:00 2001 From: BPanther Date: Mon, 14 Aug 2023 22:59:47 +0200 Subject: [PATCH] glcd, webtv/radio: epg scroll deactivated, high load Origin commit data ------------------ Commit: https://github.com/Duckbox-Developers/neutrino-ddt/commit/a39f9e58922e0b90f032928d676fc559a5406af1 Author: BPanther Date: 2023-08-12 (Sat, 12 Aug 2023) Origin message was: ------------------ nglcd, webtv/radio: epg scroll deactivated, high load --- src/driver/glcd/glcd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/glcd/glcd.cpp b/src/driver/glcd/glcd.cpp index 903f8ee3c..54ea9ba48 100644 --- a/src/driver/glcd/glcd.cpp +++ b/src/driver/glcd/glcd.cpp @@ -1153,6 +1153,7 @@ void cGLCD::Run(void) else Epg = g_InfoViewer->get_livestreamInfo1() + " " + g_InfoViewer->get_livestreamInfo2(); EpgWidth = font_epg.Width(Epg); +#if 0 // FIXME: scroll problem, high load doScrollEpg = EpgWidth > bitmap->Width(); scrollEpgForward = true; scrollEpgSkip = 0; @@ -1161,6 +1162,7 @@ void cGLCD::Run(void) scrollEpgOffset = bitmap->Width()/4; EpgWidth += scrollEpgOffset; } else +#endif scrollEpgOffset = 0; } }