LVGL use system tick

This commit is contained in:
Riku Isokoski
2021-07-07 15:47:47 +03:00
parent 61a4642221
commit 99e26bdd4c
7 changed files with 11 additions and 51 deletions

View File

@@ -22,7 +22,6 @@ namespace Pinetime {
bool Refresh() override;
void UpdateScreen();
void UpdateAnim();
private:
Pinetime::Controllers::Battery& batteryController;
@@ -33,9 +32,7 @@ namespace Pinetime {
lv_obj_t* status;
lv_task_t* taskUpdate;
lv_task_t* taskAnim;
int8_t animation = 0;
int8_t batteryPercent = -1;
uint16_t batteryVoltage = 0;
};