mirror of https://github.com/espruino/BangleApps
Update app.js
parent
35ed55a24e
commit
0745533c81
|
@ -46,7 +46,7 @@ function update_timer() {
|
|||
g.flip();
|
||||
}
|
||||
|
||||
function btn1Pressed() {
|
||||
function btn2Pressed() {
|
||||
if (!logging_started) {
|
||||
if (counter < 120)
|
||||
counter += 15;
|
||||
|
@ -66,7 +66,7 @@ function btn3Pressed() {
|
|||
}
|
||||
}
|
||||
|
||||
function btn2Pressed() {
|
||||
function btn1Pressed() {
|
||||
if (!logging_started) {
|
||||
var filename = "";
|
||||
var fileset = false;
|
||||
|
@ -127,7 +127,7 @@ var HRConfidence = 0;
|
|||
|
||||
update_timer();
|
||||
|
||||
setWatch(btn1Pressed, btn2Pressed, { repeat: true });
|
||||
setWatch(btn1Pressed, BTN1, { repeat: true });
|
||||
//setWatch(btn2Pressed, BTN2, { repeat: true });
|
||||
//setWatch(btn3Pressed, BTN3, { repeat: true });
|
||||
|
||||
|
|
Loading…
Reference in New Issue