Changed MotionController::stepHistorySize to hard-coded value again

This commit is contained in:
Sándor Rátkai 2024-09-12 22:45:34 +02:00 committed by Hunman
parent 66e29db565
commit 85c1f4e90c

View file

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