15 lines
No EOL
307 B
C++
15 lines
No EOL
307 B
C++
#include "UIBase.hpp"
|
|
#include "LvglResourceManager.hpp"
|
|
|
|
using namespace UI;
|
|
|
|
UIBase::UIBase() {}
|
|
|
|
void UIBase::loopHandler() {
|
|
{
|
|
auto lock = LvglResourceManager::GetInstance().scopeLock();
|
|
lv_timer_handler();
|
|
lv_task_handler();
|
|
}
|
|
LvglResourceManager::GetInstance().HandleQueuedTasks();
|
|
} |