Skip to content

Commit

Permalink
Update src/displayapp/screens/WatchFaceTerminal.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
  • Loading branch information
13werwolf13 and NeroBurner authored Feb 2, 2022
1 parent 757ca2d commit 3515616
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/displayapp/screens/WatchFaceTerminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 3515616

Please sign in to comment.