Record empty string if no value instead of 0

pull/1286/head
Martin Boonk 2022-01-12 19:46:15 +01:00
parent 92139253be
commit b02befe3dd
1 changed files with 3 additions and 3 deletions

View File

@ -1,15 +1,15 @@
(function(recorders) {
recorders.bthrm = function() {
var bpm = 0;
var bpm = "";
function onHRM(h) {
bpm = h.bpm;
bpm = h.bpm;
}
return {
name : "BTHR",
fields : ["BT Heartrate"],
getValues : () => {
result = [bpm];
bpm = 0;
bpm = "";
return result;
},
start : () => {