altosui: Quick hacks to download megametrum data and convert to CSV
[fw/altos] / altosui / AltosUI.java
index 75a12ecef1b6d0f174e37281098ae49d76e7ebd6..7d4b2edbf4708892fd3e46d83665de6525745a1b 100644 (file)
@@ -210,12 +210,12 @@ public class AltosUI extends AltosFrame {
                        });
                b.setToolTipText("Check flight readiness of altimeter in idle mode");
 
-               b = addButton(3, 2, "Launch Controller");
-               b.addActionListener(new ActionListener() {
-                               public void actionPerformed(ActionEvent e) {
-                                       LaunchController();
-                               }
-                       });
+//             b = addButton(3, 2, "Launch Controller");
+//             b.addActionListener(new ActionListener() {
+//                             public void actionPerformed(ActionEvent e) {
+//                                     LaunchController();
+//                             }
+//                     });
 
                b = addButton(4, 2, "Quit");
                b.addActionListener(new ActionListener() {
@@ -365,6 +365,8 @@ public class AltosUI extends AltosFrame {
                        in = new FileInputStream(file);
                        if (filename.endsWith("eeprom"))
                                return new AltosEepromIterable(in);
+                       else if (filename.endsWith("mega"))
+                               return new AltosEepromMegaIterable(in);
                        else
                                return new AltosTelemetryIterable(in);
                } catch (FileNotFoundException fe) {