From f1f4c9028e12c9a34bcfd79fd7ba273aebfbbae7 Mon Sep 17 00:00:00 2001 From: codingjourney Date: Mon, 28 Oct 2024 05:26:30 +0100 Subject: fixed issues found by the test-format CI job --- src/displayapp/screens/StopWatch.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/displayapp/screens/StopWatch.cpp') diff --git a/src/displayapp/screens/StopWatch.cpp b/src/displayapp/screens/StopWatch.cpp index 2ef5d845..5265455b 100644 --- a/src/displayapp/screens/StopWatch.cpp +++ b/src/displayapp/screens/StopWatch.cpp @@ -35,8 +35,7 @@ namespace { constexpr TickType_t blinkInterval = pdMS_TO_TICKS(1000); } -StopWatch::StopWatch(System::SystemTask& systemTask, - StopWatchController& stopWatchController) +StopWatch::StopWatch(System::SystemTask& systemTask, StopWatchController& stopWatchController) : wakeLock(systemTask), stopWatchController {stopWatchController} { static constexpr uint8_t btnWidth = 115; static constexpr uint8_t btnHeight = 80; @@ -80,7 +79,7 @@ StopWatch::StopWatch(System::SystemTask& systemTask, // Figure out what the current state of the stopwatch is and select the correct display if (stopWatchController.IsCleared()) { DisplayCleared(); - } else { + } else { if (stopWatchController.GetMaxLapNumber() > 0) { RenderLaps(); } -- cgit v1.2.3-70-g09d2