This commit is contained in:
Kieran Cawthray
2021-05-18 15:23:26 +02:00
parent 9ab298c09e
commit 378fa6b401
45 changed files with 101 additions and 865 deletions

View File

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