mirror of https://github.com/espruino/BangleApps
widadjust: Fix rest of warnings.
parent
80096bafd9
commit
af402261b9
|
@ -219,9 +219,6 @@ var cancel_gps = 0;
|
||||||
function on_gps(fix) {
|
function on_gps(fix) {
|
||||||
// Do this first so that we don't get extra jitter
|
// Do this first so that we don't get extra jitter
|
||||||
let now = getTime();
|
let now = getTime();
|
||||||
let have = false, lat = "lat ", alt = "?",
|
|
||||||
speed = "speed ", hdop = "?", adelta = "adelta ",
|
|
||||||
tdelta = "tdelta ";
|
|
||||||
|
|
||||||
if (cancel_gps)
|
if (cancel_gps)
|
||||||
return;
|
return;
|
||||||
|
@ -244,11 +241,6 @@ function on_gps(fix) {
|
||||||
.drawString(msg, 3, 25);
|
.drawString(msg, 3, 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopGps() {
|
|
||||||
cancel_gps=true;
|
|
||||||
gps.stop_gps();
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.init();
|
fmt.init();
|
||||||
gps.init();
|
gps.init();
|
||||||
gps.start_gps();
|
gps.start_gps();
|
||||||
|
|
Loading…
Reference in New Issue