diff options
Diffstat (limited to 'src/components/settings')
| -rw-r--r-- | src/components/settings/Settings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 9cbbee6..f444cdc 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -60,6 +60,12 @@ namespace Pinetime { }; Controllers::BrightnessController::Levels GetBrightness() const { 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; |
