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();