altos: Rename telemetry to telemetry_orig
[fw/altos] / altosui / AltosSiteMap.java
index d6bd6d1f43cfc0cbdf4030d8f604a7466ae713c5..7575c10e62d3b95cfa23ca2c7d938485573d79af 100644 (file)
@@ -164,8 +164,6 @@ public class AltosSiteMap extends JScrollPane implements AltosFlightDisplay {
        }
 
        public static void prefetchMaps(double lat, double lng, int w, int h) {
-               AltosPreferences.init(null);
-
                AltosSiteMap asm = new AltosSiteMap(true);
                asm.centre = asm.getBaseLocation(lat, lng);
 
@@ -228,8 +226,6 @@ public class AltosSiteMap extends JScrollPane implements AltosFlightDisplay {
        int last_state = -1;
        public void show(final AltosState state, final int crc_errors) {
                // if insufficient gps data, nothing to update
-               if (state.gps == null)
-                       return;
                if (!state.gps.locked && state.gps.nsat < 4)
                        return;