1
0
Fork 0

Merge branch 'eslint' into eslint-indent

master
Tuukka Ikkala 2020-05-26 19:06:54 +03:00
commit b4dbb0fecf
3 changed files with 4 additions and 3 deletions

View File

@ -303,7 +303,7 @@
{ "id": "speedo",
"name": "Speedo",
"icon": "speedo.png",
"version":"0.03",
"version":"0.04",
"description": "Show the current speed according to the GPS",
"tags": "tool,outdoors,gps",
"storage": [
@ -1775,7 +1775,7 @@
{"name":"widviz.wid.js","url":"widget.js"}
]
},
{
{
"id": "pizzatimer",
"name": "Pizza Timer",
"shortName":"Pizza Timer",

View File

@ -2,3 +2,4 @@
0.02: Add widgets to app
0.03: Use offscreen buffer (not doublebuffer)
Use 'locale' to get internationalised speed
0.04: Start GPS after loading app, just in case widgets affect it (#449)

View File

@ -1,4 +1,3 @@
Bangle.setGPSPower(1);
var buf = Graphics.createArrayBuffer(240,120,1,{msb:true});
var lastFix = {fix:0,satellites:0};
function onGPS(fix) {
@ -31,3 +30,4 @@ Bangle.loadWidgets();
Bangle.drawWidgets();
Bangle.on('GPS', onGPS);
Bangle.setGPSPower(1);