mirror of https://github.com/espruino/BangleApps
buzz
parent
137ed3ee2d
commit
686e0cd091
Binary file not shown.
|
@ -3,6 +3,7 @@
|
|||
var cur = new Date();
|
||||
var cur_sec = cur.getMinutes()*60+cur.getSeconds();
|
||||
var notify_sec = setting.interval>0?setting.interval-setting.interval%cur_sec:-1;
|
||||
Bangle.buzz();
|
||||
console.log(notify_sec);
|
||||
if (notify_sec>0) setTimeout(load('hourstrike.js'), notify_sec*1000);
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue