diff options
| author | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 13:23:26 (GMT) |
|---|---|---|
| committer | Kieran Cawthray <kieranc@gmail.com> | 2021-05-18 13:33:25 (GMT) |
| commit | 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d (patch) | |
| tree | f4aa571df53901a0cbc00d1ac9a86e23b7194180 /src/components/settings | |
| parent | 9ab298c09e273479822d10aad9f7bfe1d287ce75 (diff) | |
Reset
Diffstat (limited to 'src/components/settings')
| -rw-r--r-- | src/components/settings/Settings.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 4409425..18c87fd 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -86,14 +86,6 @@ 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: Pinetime::Drivers::SpiNorFlash& spiNorFlash; struct SettingsData { @@ -103,7 +95,7 @@ namespace Pinetime { uint8_t clockFace = 0; - uint32_t stepsGoal = 10000; + uint32_t stepsGoal = 1000; uint32_t screenTimeOut = 15000; WakeUpMode wakeUpMode = WakeUpMode::None; |
