Add home buttom for Bangle.js2

pull/1253/head
Adam Schmalhofer 2021-12-19 15:41:06 +01:00
parent f4a7a4f77e
commit 3e0e590b86
1 changed files with 2 additions and 0 deletions

View File

@ -350,6 +350,8 @@ if (typeof(BTN5) !== typeof(undefined)) {
setWatch(setLimitSetterToUpper, BTN5, { edge: "rising", debounce: 50, repeat: true }); setWatch(setLimitSetterToUpper, BTN5, { edge: "rising", debounce: 50, repeat: true });
setWatch(switchOffApp, BTN2, {edge:"falling", debounce:50, repeat:true}); setWatch(switchOffApp, BTN2, {edge:"falling", debounce:50, repeat:true});
} else {
setWatch(switchOffApp, BTN1, {edge:"falling", debounce:50, repeat:true});
} }
setInterval(drawTrainingHeartRate, 1000); setInterval(drawTrainingHeartRate, 1000);