Set remaining default periods to LV_DISP_DEF_REFR_PERIOD

This commit is contained in:
Riku Isokoski
2021-07-19 17:06:20 +03:00
parent 97c761a5c7
commit 331fc2be69
6 changed files with 6 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ WatchFaceDigital::WatchFaceDigital(DisplayApp* app,
lv_label_set_text(stepIcon, Symbols::shoe);
lv_obj_align(stepIcon, stepValue, LV_ALIGN_OUT_LEFT_MID, -5, 0);
taskRefresh = lv_task_create(RefreshTaskCallback, 20, LV_TASK_PRIO_MID, this);
taskRefresh = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this);
Refresh();
}