Skip to content

Commit

Permalink
Changed MotionController::stepHistorySize to hard-coded value again
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunman committed Sep 16, 2024
1 parent ee20df4 commit 7f7189e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/motion/MotionController.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ namespace Pinetime {
enum class Days : uint8_t {
Today = 0,
Yesterday,
Last,
};

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

void AdvanceDay();

Expand Down

0 comments on commit 7f7189e

Please sign in to comment.