altosui: Add support for telemetry version 4
[fw/altos] / altosui / AltosUI.java
index 94c4dd2aa4b10bb2ae6424268344f0c9ace981f6..4d17b0d24d68e961ffe963e922634849d9ee3056 100644 (file)
@@ -245,7 +245,7 @@ public class AltosUI extends JFrame {
         * a TeleDongle over the packet link
         */
        private void SaveFlightData() {
-               new AltosEepromDownload(AltosUI.this);
+               new AltosEepromManage(AltosUI.this);
        }
 
        /* Load a flight log file and write out a CSV file containing
@@ -328,7 +328,7 @@ public class AltosUI extends JFrame {
                        if (input.equals(output)) {
                                System.out.printf("Not processing '%s'\n", input);
                        } else {
-                               AltosWriter writer = open_csv(output);
+                               AltosWriter writer = open_csv("/dev/stdout");
                                if (writer != null) {
                                        writer.write(iterable);
                                        writer.close();