diff options
| author | codingjourney <coding@journey.sk> | 2024-10-26 20:45:53 +0200 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2025-11-04 21:25:31 +0100 |
| commit | 6361bf28388de9932179294f4dffa2eaf677013b (patch) | |
| tree | a16e5b76a04d95a4fc20ab9370ac0ee90c40adb0 /src/components/stopwatch/StopWatchController.h | |
| parent | f5a5600b79972dd7ce644f27b9217a58cbbb91ea (diff) | |
removed superfluous default values in controller
Diffstat (limited to 'src/components/stopwatch/StopWatchController.h')
| -rw-r--r-- | src/components/stopwatch/StopWatchController.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/stopwatch/StopWatchController.h b/src/components/stopwatch/StopWatchController.h index 9386e351..1590581f 100644 --- a/src/components/stopwatch/StopWatchController.h +++ b/src/components/stopwatch/StopWatchController.h @@ -49,16 +49,16 @@ namespace Pinetime { // Current state of stopwatch StopWatchStates currentState = StopWatchStates::Cleared; // Start time of current duration - TickType_t startTime = 0; + TickType_t startTime; // How much time was elapsed before current duration - TickType_t timeElapsedPreviously = 0; + TickType_t timeElapsedPreviously; // Maximum number of stored laps static constexpr int histSize = 2; // Lap storage Utility::CircularBuffer<LapInfo, histSize> history; // Highest lap number; may exceed histSize - int maxLapNumber = 0; + int maxLapNumber; }; } } |
