Merge remote-tracking branch 'upstream/master'
commit
e6a9c7f30d
|
|
@ -2,7 +2,7 @@
|
|||
{ "id": "boot",
|
||||
"name": "Bootloader",
|
||||
"icon": "bootloader.png",
|
||||
"version":"0.20",
|
||||
"version":"0.21",
|
||||
"description": "This is needed by Bangle.js to automatically load the clock, menu, widgets and settings",
|
||||
"tags": "tool,system",
|
||||
"type":"bootloader",
|
||||
|
|
@ -1243,7 +1243,7 @@
|
|||
{ "id": "minionclk",
|
||||
"name": "Minion clock",
|
||||
"icon": "minionclk.png",
|
||||
"version": "0.03",
|
||||
"version": "0.04",
|
||||
"description": "Minion themed clock.",
|
||||
"tags": "clock,minion",
|
||||
"type": "clock",
|
||||
|
|
@ -2203,4 +2203,3 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -19,3 +19,4 @@
|
|||
0.18: Fix 'GPS time' checks for western hemisphere
|
||||
0.19: Tweaks to simplify code and lower memory usage
|
||||
0.20: Allow Gadgetbridge to work even with programmable:off
|
||||
0.21: Handle echo off char from Gadgetbridge app when programmable:off (fix #558)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ if (s.blerepl===false) { // If not programmable, force terminal off Bluetooth
|
|||
l.forEach(n=>Bluetooth.emit("line",n));
|
||||
});
|
||||
Bluetooth.on('line',function(l) {
|
||||
if (l.startsWith('\x10')) l=l.slice(1);
|
||||
if (l.startsWith('GB({') && l.endsWith('})') && global.GB)
|
||||
try { global.GB(JSON.parse(l.slice(3,-1))); } catch(e) {}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
0.01: First release
|
||||
0.02: Improved date readability, fixed drawing of widgets
|
||||
0.03: Fixed rendering for Espruino v2.06
|
||||
0.04: Fixed overlapped rendering of dates
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ function startDrawing() {
|
|||
hour = '';
|
||||
minute = '';
|
||||
date = '';
|
||||
g.setColor(0x0000);
|
||||
g.fillRect(0, 216, 240, 240);
|
||||
g.drawImage(getBackground(), 0, 24, { scale: 2 });
|
||||
Bangle.drawWidgets();
|
||||
draw();
|
||||
|
|
|
|||
Loading…
Reference in New Issue