widadjust: Fix rest of warnings.

pull/3657/head
Pavel Machek 2024-11-11 21:28:29 +01:00
parent 80096bafd9
commit af402261b9
1 changed files with 0 additions and 8 deletions

View File

@ -219,9 +219,6 @@ var cancel_gps = 0;
function on_gps(fix) {
// Do this first so that we don't get extra jitter
let now = getTime();
let have = false, lat = "lat ", alt = "?",
speed = "speed ", hdop = "?", adelta = "adelta ",
tdelta = "tdelta ";
if (cancel_gps)
return;
@ -244,11 +241,6 @@ function on_gps(fix) {
.drawString(msg, 3, 25);
}
function stopGps() {
cancel_gps=true;
gps.stop_gps();
}
fmt.init();
gps.init();
gps.start_gps();