1
0
Fork 0

Keep updating motion during sleep when Bluetooth is on

This commit is contained in:
apilat 2022-06-29 13:06:30 +01:00 committed by FintasticMan
parent a40168a9d7
commit 074df0526f

View file

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