diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-26 04:04:07 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-26 04:06:47 (GMT) |
| commit | 5215bc45a6520258c021a6df3940de9f1f16d6ff (patch) | |
| tree | 9a990b2d1f32a51be3ed7f796ac3d33573152a07 /src/components/settings/Settings.h | |
| parent | 6ef420d2407a4685b56a233f6b0f849e90c6cf49 (diff) | |
sans steps
Diffstat (limited to 'src/components/settings/Settings.h')
| -rw-r--r-- | src/components/settings/Settings.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 2d26664..8a32efa 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -147,22 +147,10 @@ namespace Pinetime { return settings.brightLevel; }; - void SetStepsGoal(uint32_t goal) { - if (goal != settings.stepsGoal) { - settingsChanged = true; - } - settings.stepsGoal = goal; - }; - - uint32_t GetStepsGoal() const { - return settings.stepsGoal; - }; - private: - static constexpr uint32_t settingsVersion = 0x4001; // infinitime redux settings + static constexpr uint32_t settingsVersion = 0x4011; // infinitime redux settings struct SettingsData { uint32_t version = settingsVersion; - uint32_t stepsGoal = 10000; uint32_t screenTimeOut = 15000; ClockType clockType = ClockType::H24; |
