mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
Changed MotionController::stepHistorySize to hard-coded value again
This commit is contained in:
parent
66e29db565
commit
85c1f4e90c
|
@ -21,10 +21,9 @@ namespace Pinetime {
|
||||||
enum class Days : uint8_t {
|
enum class Days : uint8_t {
|
||||||
Today = 0,
|
Today = 0,
|
||||||
Yesterday,
|
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();
|
void AdvanceDay();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue