OMOTE/Platformio/OmoteUI/UIs/UIBase.cpp

15 lines
307 B
C++
Raw Normal View History

2023-10-22 14:35:49 -04:00
#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();
}