mirror of https://github.com/espruino/BangleApps
- changed buzz pattern before long break
parent
d9de3d8b3e
commit
713a6582e5
|
@ -105,14 +105,13 @@ exports.nextPhase = function (vibrate) {
|
|||
|
||||
if (vibrate) {
|
||||
if (exports.state.phase == exports.PHASE_WORKING) {
|
||||
Bangle.buzz(750, 1);
|
||||
Bangle.buzz(800, 1);
|
||||
} else if (exports.state.phase == exports.PHASE_SHORT_BREAK) {
|
||||
Bangle.buzz();
|
||||
setTimeout(Bangle.buzz, 400);
|
||||
} else {
|
||||
Bangle.buzz();
|
||||
setTimeout(Bangle.buzz, 400);
|
||||
setTimeout(Bangle.buzz, 600);
|
||||
setTimeout(Bangle.buzz, 400, 400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue