Merge branch 'master' of github.com:espruino/BangleApps
commit
3146b354be
|
|
@ -1501,7 +1501,7 @@
|
||||||
{
|
{
|
||||||
"id": "gpsinfo",
|
"id": "gpsinfo",
|
||||||
"name": "GPS Info",
|
"name": "GPS Info",
|
||||||
"version": "0.07",
|
"version": "0.08",
|
||||||
"description": "An application that displays information about altitude, lat/lon, satellites and time",
|
"description": "An application that displays information about altitude, lat/lon, satellites and time",
|
||||||
"icon": "gps-info.png",
|
"icon": "gps-info.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,4 @@
|
||||||
0.05: Refactor to use 'layout' library for multi-device support
|
0.05: Refactor to use 'layout' library for multi-device support
|
||||||
0.06: Add number of satellites in view and fix crash with GPS time
|
0.06: Add number of satellites in view and fix crash with GPS time
|
||||||
0.07: Resolve one FIFO_FULL case and exit App with button press
|
0.07: Resolve one FIFO_FULL case and exit App with button press
|
||||||
|
0.08: Leave GPS power switched on on exit (will switch off after 0.5 seconds anyway)
|
||||||
|
|
|
||||||
|
|
@ -132,9 +132,6 @@ Bangle.on('GPS', onGPS);
|
||||||
Bangle.on('GPS-raw', onGPSraw);
|
Bangle.on('GPS-raw', onGPSraw);
|
||||||
|
|
||||||
function exitApp() {
|
function exitApp() {
|
||||||
Bangle.setGPSPower(0, "app");
|
|
||||||
Bangle.removeListener('GPS-raw', onGPSraw);
|
|
||||||
Bangle.removeListener('GPS', onGPS);
|
|
||||||
load();
|
load();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue