Skip to content

Commit ba4bbfa

Browse files
committed
style: fix formatting
This does not fix the compile-error when building the simulator. I will tackle that tomorrow.
1 parent 94a78b1 commit ba4bbfa

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎src/displayapp/DisplayApp.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ void DisplayApp::Refresh() {
397397
}
398398
break;
399399
case Messages::SleepSaveDataPoint:
400-
sleeptrackingController.SaveDatapoint();
401-
PushMessage(Messages::GoToSleep);
402-
break;
400+
sleeptrackingController.SaveDatapoint();
401+
PushMessage(Messages::GoToSleep);
402+
break;
403403
case Messages::ShowPairingKey:
404404
LoadNewScreen(Apps::PassKey, DisplayApp::FullRefreshDirections::Up);
405405
motorController.RunForDuration(35);

‎src/displayapp/screens/Sleep.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace Pinetime::Applications::Screens {
127127

128128
Sleep::~Sleep() {
129129
if (sleeptrackingController.IsAlerting()) {
130-
StopAlerting();
130+
StopAlerting();
131131
}
132132
lv_obj_clean(lv_scr_act());
133133
sleeptrackingController.SaveSettings();

‎src/main.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Pinetime::Controllers::SleepTrackingController sleeptrackingController {fs,
115115
heartRateController,
116116
motorController};
117117

118-
119118
#ifdef PINETIME_IS_RECOVERY
120119
Pinetime::Applications::DisplayApp displayApp(lcd,
121120
touchPanel,

0 commit comments

Comments
 (0)