1
0
Fork 0

bthrm - Recorder icon only blue if values are coming in

master
Martin Boonk 2022-02-13 16:40:06 +01:00
parent 0938d708aa
commit 8d0c4a904c
2 changed files with 2 additions and 1 deletions

View File

@ -17,3 +17,4 @@
0.06: Fix bug if no request waiting time is set 0.06: Fix bug if no request waiting time is set
Fix bug if no connection data was cached Fix bug if no connection data was cached
Fix error during disconnect Fix error during disconnect
0.07: Recorder icon only blue if values actually arive

View File

@ -32,7 +32,7 @@
Bangle.removeListener('BTHRM', onHRM); Bangle.removeListener('BTHRM', onHRM);
if (Bangle.setBTRHMPower) Bangle.setBTHRMPower(0,"recorder"); if (Bangle.setBTRHMPower) Bangle.setBTHRMPower(0,"recorder");
}, },
draw : (x,y) => g.setColor((Bangle.isBTHRMConnected && Bangle.isBTHRMConnected())?"#00f":"#88f").drawImage(atob("DAwBAAAAMMeef+f+f+P8H4DwBgAA"),x,y) draw : (x,y) => g.setColor((bpm != "")?"#00f":"#88f").drawImage(atob("DAwBAAAAMMeef+f+f+P8H4DwBgAA"),x,y)
}; };
} }
}) })