Skip to content

Commit af40226

Browse files
committed
widadjust: Fix rest of warnings.
1 parent 80096ba commit af40226

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

apps/widadjust/widadjust.app.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,6 @@ var cancel_gps = 0;
219219
function on_gps(fix) {
220220
// Do this first so that we don't get extra jitter
221221
let now = getTime();
222-
let have = false, lat = "lat ", alt = "?",
223-
speed = "speed ", hdop = "?", adelta = "adelta ",
224-
tdelta = "tdelta ";
225222

226223
if (cancel_gps)
227224
return;
@@ -244,11 +241,6 @@ function on_gps(fix) {
244241
.drawString(msg, 3, 25);
245242
}
246243

247-
function stopGps() {
248-
cancel_gps=true;
249-
gps.stop_gps();
250-
}
251-
252244
fmt.init();
253245
gps.init();
254246
gps.start_gps();

0 commit comments

Comments
 (0)