mirror of https://github.com/espruino/BangleApps
Update GPS Adv Sports II.js
parent
d6750c423b
commit
ecad0366a8
|
@ -7,7 +7,7 @@ app.LoadPlugin("PuckJS");
|
||||||
//Called when application is started.
|
//Called when application is started.
|
||||||
function OnStart() {
|
function OnStart() {
|
||||||
|
|
||||||
v = '1.48' // Version of this script
|
v = '1.49' // Version of this script
|
||||||
requiredBangleVer = '1.46'; // Minimum speedalt2 version required on Bangle
|
requiredBangleVer = '1.46'; // Minimum speedalt2 version required on Bangle
|
||||||
curBangleVer = '-.--'
|
curBangleVer = '-.--'
|
||||||
isStopped = true; // Data receive turned off
|
isStopped = true; // Data receive turned off
|
||||||
|
@ -27,6 +27,7 @@ function OnStart() {
|
||||||
setInterval(checkConnection,5000) // Periodic check for data timeout and attempt a reconnect
|
setInterval(checkConnection,5000) // Periodic check for data timeout and attempt a reconnect
|
||||||
|
|
||||||
// Controls
|
// Controls
|
||||||
|
app.SetScreenMode("Full")
|
||||||
|
|
||||||
//Create a layout with objects vertically centered.
|
//Create a layout with objects vertically centered.
|
||||||
layVert = app.CreateLayout("Linear", "VCenter,FillXY")
|
layVert = app.CreateLayout("Linear", "VCenter,FillXY")
|
||||||
|
|
Loading…
Reference in New Issue