move task handler to UI class out of main
This commit is contained in:
parent
32c4230071
commit
d37a587c5c
2 changed files with 1 additions and 1 deletions
|
@ -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(){
|
||||
|
|
|
@ -12,6 +12,5 @@ int main(){
|
|||
|
||||
while (true){
|
||||
ui->loopHandler();
|
||||
lv_task_handler();
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue