altoslib: Use symbols in AltosRomconfig instead of fixed offsets
[fw/altos] / altosui / AltosDataChooser.java
index af6c245b8a17b79a90f84463d313f9c526cd9a0d..c0d6668279574e051dfafdf0dce2e097b12016f4 100644 (file)
@@ -20,7 +20,7 @@ package altosui;
 import javax.swing.*;
 import javax.swing.filechooser.FileNameExtensionFilter;
 import java.io.*;
-import org.altusmetrum.altoslib_1.*;
+import org.altusmetrum.altoslib_2.*;
 import org.altusmetrum.altosuilib_1.*;
 
 public class AltosDataChooser extends JFileChooser {
@@ -51,7 +51,7 @@ public class AltosDataChooser extends JFileChooser {
                                        return new AltosEepromFile(in);
                                } else if (filename.endsWith("telem")) {
                                        FileInputStream in = new FileInputStream(file);
-                                       return null; // new AltosTelemetryIterable(in);
+                                       return new AltosTelemetryFile(in);
                                } else {
                                        throw new FileNotFoundException();
                                }