Skip to content

Commit 5d85af0

Browse files
committed
removed superfluous default values in controller
1 parent 23f1789 commit 5d85af0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/stopwatch/StopWatchController.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ namespace Pinetime {
4949
// Current state of stopwatch
5050
StopWatchStates currentState = StopWatchStates::Cleared;
5151
// Start time of current duration
52-
TickType_t startTime = 0;
52+
TickType_t startTime;
5353
// How much time was elapsed before current duration
54-
TickType_t timeElapsedPreviously = 0;
54+
TickType_t timeElapsedPreviously;
5555

5656
// Maximum number of stored laps
5757
static constexpr int histSize = 2;
5858
// Lap storage
5959
Utility::CircularBuffer<LapInfo, histSize> history;
6060
// Highest lap number; may exceed histSize
61-
int maxLapNumber = 0;
61+
int maxLapNumber;
6262
};
6363
}
6464
}

0 commit comments

Comments
 (0)