move task handler to UI class out of main

This commit is contained in:
MatthewColvin 2023-09-16 12:36:33 -05:00
parent 32c4230071
commit d37a587c5c
2 changed files with 1 additions and 1 deletions

View file

@ -91,6 +91,7 @@ void OmoteUI::virtualKeypad_event_cb(lv_event_t *e) {
void OmoteUI::loopHandler(){
lv_timer_handler();
lv_task_handler();
}
void OmoteUI::create_status_bar(){

View file

@ -12,6 +12,5 @@ int main(){
while (true){
ui->loopHandler();
lv_task_handler();
}
}