diff options
author | Tim Keller <geekboy1011@gmail.com> | 2021-11-12 00:53:27 +0000 |
---|---|---|
committer | Tim Keller <geekboy1011@gmail.com> | 2022-01-04 02:06:16 +0000 |
commit | e82469bffac6383ab898fa71dc3a88e164dc86ff (patch) | |
tree | a165502e615b4585fd89dde51f0ad8b1d5a50723 /src/displayapp/screens/settings/SettingShakeThreshold.cpp | |
parent | f86c71b2bb4290adece06fb4cd0aed333201d9fa (diff) |
Fix setting removing it self from wake settings when opening calibration window twice.
Diffstat (limited to 'src/displayapp/screens/settings/SettingShakeThreshold.cpp')
-rw-r--r-- | src/displayapp/screens/settings/SettingShakeThreshold.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/displayapp/screens/settings/SettingShakeThreshold.cpp b/src/displayapp/screens/settings/SettingShakeThreshold.cpp index 06e233c4..1791b550 100644 --- a/src/displayapp/screens/settings/SettingShakeThreshold.cpp +++ b/src/displayapp/screens/settings/SettingShakeThreshold.cpp @@ -63,6 +63,7 @@ SettingShakeThreshold::SettingShakeThreshold(DisplayApp* app, vDecay = xTaskGetTickCount(); calibrating = false; + EnableForCal = false; if(!settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake)){ EnableForCal = true; settingsController.setWakeUpMode(Pinetime::Controllers::Settings::WakeUpMode::Shake,true); |