Keep updating motion during sleep when Bluetooth is on
This commit is contained in:
parent
a40168a9d7
commit
074df0526f
1 changed files with 3 additions and 2 deletions
|
@ -417,8 +417,9 @@ void SystemTask::UpdateMotion() {
|
|||
return;
|
||||
}
|
||||
|
||||
if (state == SystemTaskState::Sleeping && !(settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::RaiseWrist) ||
|
||||
settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake))) {
|
||||
if (state == SystemTaskState::Sleeping &&
|
||||
!(settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::RaiseWrist) ||
|
||||
settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::Shake) || bleController.IsConnected())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue