From: Keith Packard Date: Mon, 22 Oct 2012 00:00:08 +0000 (-0700) Subject: altosui: Handle .mega files in Landed tab 'Graph Flight' button X-Git-Tag: 1.1.9.2~22^2~14 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f789b0b94eb01e3875f7711ce053658c31e75fad altosui: Handle .mega files in Landed tab 'Graph Flight' button Need to check for .mega files here too. Signed-off-by: Keith Packard --- 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); }