We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb611d commit 3e8accdCopy full SHA for 3e8accd
1 file changed
src/displayapp/DisplayApp.cpp
@@ -242,7 +242,9 @@ void DisplayApp::Refresh() {
242
// If not true, then wait that amount of time
243
queueTimeout = CalculateSleepTime();
244
if (queueTimeout == 0) {
245
- lv_task_handler();
+ // Keep running the task handler if it still has things to draw
246
+ while (!lv_task_handler()) {
247
+ };
248
// Drop frames that we've missed if the loop took way longer than expected to execute
249
while (queueTimeout == 0) {
250
alwaysOnTickCount += 1;
0 commit comments