HRM confidence of 80 to display

pull/928/head
David Peer 2021-11-23 08:25:11 +01:00
parent 7d95221e16
commit 1fb861b82c
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ Bangle.on('swipe',function(dir) {
* Measure heart rate * Measure heart rate
*/ */
Bangle.on('HRM', function(hrm) { Bangle.on('HRM', function(hrm) {
hrmStr = hrm.bpm; if(hrm.confidence > 80){
hrmStr = hrm.bpm;
}
}); });