telegps: Add scan UI
[fw/altos] / altosui / AltosLanded.java
index 139b81b636031ee4e74465f013b2d3ffe2b1faf0..707d8fccb38414d3dd9d5fb96675853e88735f50 100644 (file)
@@ -21,7 +21,8 @@ import java.awt.*;
 import java.awt.event.*;
 import javax.swing.*;
 import java.io.*;
-import org.altusmetrum.altoslib_2.*;
+import org.altusmetrum.altoslib_4.*;
+import org.altusmetrum.altosuilib_2.*;
 
 public class AltosLanded extends JComponent implements AltosFlightDisplay, ActionListener {
        GridBagLayout   layout;
@@ -44,7 +45,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
                        show();
                        value.setText(s);
                }
-               
+
                void show(AltosUnits units, double v) {
                        show(units.show(8, v));
                }
@@ -250,7 +251,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
                                                states = new AltosEepromFile(in);
                                        } else if (filename.endsWith("telem")) {
                                                FileInputStream in = new FileInputStream(file);
-                                               states = null; // new AltosTelemetryIterable(in);
+                                               states = new AltosTelemetryFile(in);
                                        } else {
                                                throw new FileNotFoundException(filename);
                                        }