Always log bpm and confidence

master
Martin Boonk 2022-01-12 20:45:32 +01:00
parent 58e9a47051
commit c9efc09581
1 changed files with 2 additions and 4 deletions

View File

@ -54,10 +54,8 @@
hrm:function() {
var bpm = "", bpmConfidence = "";
function onHRM(h) {
if (h.confidence >= bpmConfidence) {
bpmConfidence = h.confidence;
bpm = h.bpm;
}
bpmConfidence = h.confidence;
bpm = h.bpm;
}
return {
name : "HR",