diff --git a/src/displayapp/screens/WatchFaceTerminal.cpp b/src/displayapp/screens/WatchFaceTerminal.cpp index 98e0b495..c70a0e78 100644 --- a/src/displayapp/screens/WatchFaceTerminal.cpp +++ b/src/displayapp/screens/WatchFaceTerminal.cpp @@ -199,9 +199,7 @@ void WatchFaceTerminal::Refresh() { stepCount = motionController.NbSteps(); motionSensorOk = motionController.IsSensorOk(); - char stepString[34]; if (stepCount.IsUpdated() || motionSensorOk.IsUpdated()) { - sprintf(stepString, "[STEP]#ee3377 %lu steps#", stepCount.Get()); - lv_label_set_text(stepValue, stepString); + lv_label_set_text_fmt(stepValue, "[STEP]#ee3377 %lu steps#", stepCount.Get()); } }