altosui: Fix 'Graph Flight' button in landed dialog
authorKeith Packard <keithp@keithp.com>
Fri, 6 Sep 2013 05:56:11 +0000 (22:56 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Sep 2013 05:56:11 +0000 (22:56 -0700)
Telemetry file reading was broken (oops!)

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

index 139b81b636031ee4e74465f013b2d3ffe2b1faf0..cc2053e0ca5fe7896557241f31e9dc0bb2854424 100644 (file)
@@ -250,7 +250,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio
                                                states = new AltosEepromFile(in);
                                        } else if (filename.endsWith("telem")) {
                                                FileInputStream in = new FileInputStream(file);
-                                               states = null; // new AltosTelemetryIterable(in);
+                                               states = new AltosTelemetryFile(in);
                                        } else {
                                                throw new FileNotFoundException(filename);
                                        }