aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorcodingjourney <coding@journey.sk>2024-10-26 20:45:53 +0200
committerJF <JF002@users.noreply.github.com>2025-11-04 21:25:31 +0100
commit6361bf28388de9932179294f4dffa2eaf677013b (patch)
treea16e5b76a04d95a4fc20ab9370ac0ee90c40adb0 /src/components
parentf5a5600b79972dd7ce644f27b9217a58cbbb91ea (diff)
removed superfluous default values in controller
Diffstat (limited to 'src/components')
-rw-r--r--src/components/stopwatch/StopWatchController.h6
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;
};
}
}