summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/StopWatch.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-07-19 14:06:20 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-07-19 14:06:20 (GMT)
commit331fc2be6931238960c894d0a926f673607455fc (patch)
tree84425bc40348f2d7aca7cc4d49dbe3cb55d85c69 /src/displayapp/screens/StopWatch.cpp
parent97c761a5c74994ea1d9bef9c14e6e24afb9b4be2 (diff)
Set remaining default periods to LV_DISP_DEF_REFR_PERIOD
Diffstat (limited to 'src/displayapp/screens/StopWatch.cpp')
-rw-r--r--src/displayapp/screens/StopWatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/StopWatch.cpp b/src/displayapp/screens/StopWatch.cpp
index 74b49db..0d4feb2 100644
--- a/src/displayapp/screens/StopWatch.cpp
+++ b/src/displayapp/screens/StopWatch.cpp
@@ -101,7 +101,7 @@ StopWatch::StopWatch(DisplayApp* app, System::SystemTask& systemTask)
lv_obj_align(lapTwoText, lv_scr_act(), LV_ALIGN_IN_LEFT_MID, 50, 55);
lv_label_set_text(lapTwoText, "");
- 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);
}
StopWatch::~StopWatch() {