summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Steps.cpp
diff options
context:
space:
mode:
authorStephanie <eng.steph@gmail.com>2021-10-31 11:53:13 -0400
committerJF <JF002@users.noreply.github.com>2021-12-30 21:51:43 +0100
commite0013e730448f4dc142e3610f970f22c807ac41e (patch)
tree2c887bf1c649f23460e7258fefb6938017bff27f /src/displayapp/screens/Steps.cpp
parenta65f173e3c63730c7db3c29bf44e538773971dc7 (diff)
Ran clang-format
Diffstat (limited to 'src/displayapp/screens/Steps.cpp')
-rw-r--r--src/displayapp/screens/Steps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/Steps.cpp b/src/displayapp/screens/Steps.cpp
index 3ab28e43..3e7f8201 100644
--- a/src/displayapp/screens/Steps.cpp
+++ b/src/displayapp/screens/Steps.cpp
@@ -85,7 +85,7 @@ void Steps::Refresh() {
lv_label_set_text_fmt(lSteps, "%li", stepsCount);
lv_obj_align(lSteps, nullptr, LV_ALIGN_CENTER, 0, -40);
- if (currentTripSteps < 100000){
+ if (currentTripSteps < 100000) {
lv_label_set_text_fmt(tripLabel, "Trip: %5li", currentTripSteps);
} else {
lv_label_set_text_fmt(tripLabel, "Trip: 99999+");
@@ -101,4 +101,3 @@ void Steps::lapBtnEventHandler(lv_event_t event) {
motionController.ResetTrip();
Refresh();
}
-