altosui: Load Telem files in AltosDataChooser too
authorKeith Packard <keithp@keithp.com>
Fri, 6 Sep 2013 23:52:06 +0000 (16:52 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Sep 2013 23:52:06 +0000 (16:52 -0700)
Telem file loading was stubbed out from AltosState changes

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosDataChooser.java

index 0d0b0b0ac60c5a5d09a3968a4b1d64c6b5f83731..c0d6668279574e051dfafdf0dce2e097b12016f4 100644 (file)
@@ -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();
                                }