implemented continuous vibration pattern for incoming calls
This commit is contained in:
parent
d7fa000b85
commit
d13dd6dee3
7 changed files with 78 additions and 24 deletions
|
|
@ -225,7 +225,11 @@ void SystemTask::Work() {
|
|||
case Messages::OnNewNotification:
|
||||
if (isSleeping && !isWakingUp)
|
||||
GoToRunning();
|
||||
motorController.SetDuration(35);
|
||||
if (notificationManager.GetLastNotification().category == Controllers::NotificationManager::Categories::IncomingCall) {
|
||||
motorController.startRunning(50);
|
||||
} else {
|
||||
motorController.RunForDuration(35);
|
||||
}
|
||||
displayApp->PushMessage(Pinetime::Applications::Display::Messages::NewNotification);
|
||||
break;
|
||||
case Messages::BleConnected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue