forked from FOSS/BangleApps
Merge branch 'espruino:master' into master
commit
c11462dc10
|
@ -82,7 +82,7 @@
|
|||
{
|
||||
"id": "health",
|
||||
"name": "Health Tracking",
|
||||
"version": "0.05",
|
||||
"version": "0.06",
|
||||
"description": "Logs health data and provides an app to view it (BETA - requires firmware 2v11)",
|
||||
"icon": "app.png",
|
||||
"tags": "tool,system,health",
|
||||
|
@ -2852,7 +2852,7 @@
|
|||
"icon": "bluetooth.png",
|
||||
"type": "bootloader",
|
||||
"tags": "battery,ble,bluetooth,gatt",
|
||||
"supports": ["BANGLEJS"],
|
||||
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||
"readme": "README.md",
|
||||
"storage": [
|
||||
{"name":"gattbat.boot.js","url":"boot.js"}
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
0.04: Add HRM graph view
|
||||
Don't restart HRM when changing apps if we've already got a good BPM value
|
||||
0.05: Fix daily summary calculation
|
||||
0.06: Fix daily health summary for movement (a line got deleted!)
|
||||
|
|
|
@ -79,5 +79,6 @@ Bangle.on("health", health => {
|
|||
if (health.bpmCnt)
|
||||
health.bpm /= health.bpmCnt;
|
||||
if (health.movCnt)
|
||||
health.movement /= health.movCnt;
|
||||
require("Storage").write(fn, getRecordData(health), sumPos, DB_FILE_LEN);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue