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