diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/stopwatch/StopWatchController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/stopwatch/StopWatchController.h b/src/components/stopwatch/StopWatchController.h index 210cbeaa..bcc9b551 100644 --- a/src/components/stopwatch/StopWatchController.h +++ b/src/components/stopwatch/StopWatchController.h @@ -47,7 +47,7 @@ namespace Pinetime { private: // Time at which stopwatch wraps around to zero (1000 hours) - TickType_t elapsedTimeBoundary = configTICK_RATE_HZ * 60 * 60 * 1000; + static constexpr TickType_t elapsedTimeBoundary = (TickType_t) configTICK_RATE_HZ * 60 * 60 * 1000; // Current state of stopwatch StopWatchStates currentState = StopWatchStates::Cleared; // Start time of current duration |
