diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-21 17:00:08 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-21 17:00:08 -0700 |
commit | f789b0b94eb01e3875f7711ce053658c31e75fad (patch) | |
tree | e4ed3b042af618ffb701c3d04bf26f165806a86a | |
parent | 6a1a1dae3e00bfcddf31c447f915245a7d42e566 (diff) |
altosui: Handle .mega files in Landed tab 'Graph Flight' button
Need to check for .mega files here too.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosui/AltosLanded.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/altosui/AltosLanded.java b/altosui/AltosLanded.java index 0111a08a..5e073f7d 100644 --- a/altosui/AltosLanded.java +++ b/altosui/AltosLanded.java @@ -250,6 +250,9 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio } else if (filename.endsWith("telem")) { FileInputStream in = new FileInputStream(file); records = new AltosTelemetryIterable(in); + } else if (filename.endsWith("mega")) { + FileInputStream in = new FileInputStream(file); + records = new AltosEepromMegaIterable(in); } else { throw new FileNotFoundException(filename); } |