altosui: Quick hacks to download megametrum data and convert to CSV
[fw/altos] / altosui / AltosDataChooser.java
index d81ca6d1a128aa009c7420e0f9a67f96901ae4f4..488e1068b18bad58958726d00ffd0c19ef4a2696 100644 (file)
@@ -56,6 +56,9 @@ public class AltosDataChooser extends JFileChooser {
                                } else if (filename.endsWith("telem")) {
                                        FileInputStream in = new FileInputStream(file);
                                        return new AltosTelemetryIterable(in);
+                               } else if (filename.endsWith("mega")) {
+                                       FileInputStream in = new FileInputStream(file);
+                                       return new AltosEepromMegaIterable(in);
                                } else {
                                        throw new FileNotFoundException();
                                }