mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-26 11:13:16 +03:00
Update src/displayapp/screens/WatchFaceTerminal.cpp
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
This commit is contained in:
parent
757ca2dd43
commit
35156166b2
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user