summaryrefslogtreecommitdiff
path: root/src/displayapp
diff options
context:
space:
mode:
authorStephanie <eng.steph@gmail.com>2021-10-31 15:53:13 (GMT)
committerJF <JF002@users.noreply.github.com>2021-12-30 20:51:43 (GMT)
commite0013e730448f4dc142e3610f970f22c807ac41e (patch)
tree2c887bf1c649f23460e7258fefb6938017bff27f /src/displayapp
parenta65f173e3c63730c7db3c29bf44e538773971dc7 (diff)
Ran clang-format
Diffstat (limited to 'src/displayapp')
-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 3ab28e4..3e7f820 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();
}
-