OMOTE/Platformio/OmoteUI/UIs/UIBase.cpp
Matthew Colvin 4f59a2648f remove dead interface class
fix spelling error in resource manager
2023-10-12 15:25:03 -05:00

16 lines
No EOL
377 B
C++

#include "UIBase.hpp"
#include "LvglResourceManager.hpp"
using namespace UI;
UIBase::UIBase(std::shared_ptr<HardwareAbstract> aHardware)
: mHardware(aHardware) {}
void UIBase::loopHandler() {
{
auto lock = LvglResourceManager::GetInstance().scopeLock();
lv_timer_handler();
lv_task_handler();
}
LvglResourceManager::GetInstance().HandleQueuedTasks();
}