diff --git a/apps.json b/apps.json index cadc76ba5..07aa644f6 100644 --- a/apps.json +++ b/apps.json @@ -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 @@ ] } ] - diff --git a/apps/boot/ChangeLog b/apps/boot/ChangeLog index 5dde04f9c..d2f68fd0e 100644 --- a/apps/boot/ChangeLog +++ b/apps/boot/ChangeLog @@ -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) diff --git a/apps/boot/boot0.js b/apps/boot/boot0.js index b674d601f..630252dea 100644 --- a/apps/boot/boot0.js +++ b/apps/boot/boot0.js @@ -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) {} }); diff --git a/apps/minionclk/ChangeLog b/apps/minionclk/ChangeLog index 3b6757d9a..27dab7259 100755 --- a/apps/minionclk/ChangeLog +++ b/apps/minionclk/ChangeLog @@ -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 diff --git a/apps/minionclk/app.js b/apps/minionclk/app.js index 2d6a38603..f0afbc45c 100755 --- a/apps/minionclk/app.js +++ b/apps/minionclk/app.js @@ -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();