Skip to content

Commit 3515616

Browse files
Update src/displayapp/screens/WatchFaceTerminal.cpp
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
1 parent 757ca2d commit 3515616

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/displayapp/screens/WatchFaceTerminal.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ void WatchFaceTerminal::Refresh() {
199199

200200
stepCount = motionController.NbSteps();
201201
motionSensorOk = motionController.IsSensorOk();
202-
char stepString[34];
203202
if (stepCount.IsUpdated() || motionSensorOk.IsUpdated()) {
204-
sprintf(stepString, "[STEP]#ee3377 %lu steps#", stepCount.Get());
205-
lv_label_set_text(stepValue, stepString);
203+
lv_label_set_text_fmt(stepValue, "[STEP]#ee3377 %lu steps#", stepCount.Get());
206204
}
207205
}

0 commit comments

Comments
 (0)