Merge pull request #2511 from siatwe/master

[entonclk] For now, just return the really needed HRM reading
master
Gordon Williams 2023-01-19 08:41:19 +00:00 committed by GitHub
commit 1499475d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,3 @@
0.1: New App!
0.2: Now with timer function
0.3: Fix HRM

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);
}
}

View File

@ -1,7 +1,7 @@
{
"id": "entonclk",
"name": "Enton Clock",
"version": "0.2",
"version": "0.3",
"description": "A simple clock using the Audiowide font with timer. ",
"icon": "app.png",
"screenshots": [{"url":"screenshot.png"}],