[entonclk] For now, just return the really needed HRM reading

master
Simon Weis 2023-01-18 19:04:22 +01:00
parent a404e05134
commit 1cbc003349
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ Bangle.on('touch',t => {
g.setFontAlign(0, 0).setFont("6x8", 2).drawString(dateStr, x, y+28);
g.setFontAlign(0, 0).setFont("6x8", 2);
g.drawString(getSteps(), 50, y+70);
g.drawString(Math.round(Bangle.getHealthStatus("last").bpm), g.getWidth() -37, y + 70);
g.drawString(Math.round(Bangle.getHealthStatus().bpm||Bangle.getHealthStatus("last").bpm), g.getWidth() -37, y + 70);
// queue next draw
if (drawTimeout) clearTimeout(drawTimeout);
@ -124,4 +124,4 @@ Bangle.on('touch',t => {
Bangle.loadWidgets();
draw();
setTimeout(Bangle.drawWidgets,0);
}
}