From 7f7189e3e74ed042fc888ceeff4be67e2a926ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor=20R=C3=A1tkai?= Date: Thu, 12 Sep 2024 22:45:34 +0200 Subject: [PATCH] Changed MotionController::stepHistorySize to hard-coded value again --- src/components/motion/MotionController.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h index 33e6516fdc..10b91b105d 100644 --- a/src/components/motion/MotionController.h +++ b/src/components/motion/MotionController.h @@ -21,10 +21,9 @@ namespace Pinetime { enum class Days : uint8_t { Today = 0, Yesterday, - Last, }; - static constexpr size_t stepHistorySize = static_cast>(Days::Last); // Store this many day's step counter + static constexpr size_t stepHistorySize = 2; // Store this many day's step counter void AdvanceDay();