Skip to content

Commit 7f7189e

Browse files
committed
Changed MotionController::stepHistorySize to hard-coded value again
1 parent ee20df4 commit 7f7189e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/motion/MotionController.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ namespace Pinetime {
2121
enum class Days : uint8_t {
2222
Today = 0,
2323
Yesterday,
24-
Last,
2524
};
2625

27-
static constexpr size_t stepHistorySize = static_cast<std::underlying_type_t<Days>>(Days::Last); // Store this many day's step counter
26+
static constexpr size_t stepHistorySize = 2; // Store this many day's step counter
2827

2928
void AdvanceDay();
3029

0 commit comments

Comments
 (0)