Add start of settings app for senstivity.

really just debugging. I want to make it more configurable then high med low.
Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
This commit is contained in:
Tim Keller
2021-09-27 02:52:02 +00:00
parent ad42cdf120
commit 3ebf002f9d
10 changed files with 145 additions and 8 deletions

View File

@@ -475,7 +475,8 @@ void SystemTask::UpdateMotion() {
motionController.Should_RaiseWake(isSleeping)) {
GoToRunning();
}
if (settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake) && motionController.Should_ShakeWake()) {
if (settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake) &&
motionController.Should_ShakeWake(settingsController.GetShakeThreshold())) {
GoToRunning();
}
}