summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Motion.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-05-12 06:58:44 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-05-12 06:58:44 (GMT)
commit948661c9f650d59aa05ad93855703dab86603673 (patch)
treed4942017b5aaddde1ddfc3bfd96a34464d68106e /src/displayapp/screens/Motion.cpp
parent2643cda7fee510462efc4447f3ca41f568ae8bce (diff)
Use ..set_text_static when statically-allocated strings are used
Diffstat (limited to 'src/displayapp/screens/Motion.cpp')
-rw-r--r--src/displayapp/screens/Motion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp
index 23eb276..799dcb3 100644
--- a/src/displayapp/screens/Motion.cpp
+++ b/src/displayapp/screens/Motion.cpp
@@ -35,7 +35,7 @@ Motion::Motion(Pinetime::Applications::DisplayApp* app, Controllers::MotionContr
labelStep = lv_label_create(lv_scr_act(), NULL);
lv_obj_align(labelStep, chart, LV_ALIGN_IN_BOTTOM_LEFT, 0, 0);
- lv_label_set_text(labelStep, "Steps ---");
+ lv_label_set_text_static(labelStep, "Steps ---");
taskRefresh = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this);
}