X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosLanded.java;h=3994e5de9638c77d28e1f618015cca4b84b7dec5;hb=64399500ad1a7ad70452cbda4d60723b5904ca3d;hp=0111a08a0df6a596e8b0d32434a15a6e7e60d715;hpb=7894c27b2b2c3c46a7c107c8acd5977830f006cf;p=fw%2Faltos diff --git a/altosui/AltosLanded.java b/altosui/AltosLanded.java index 0111a08a..3994e5de 100644 --- a/altosui/AltosLanded.java +++ b/altosui/AltosLanded.java @@ -21,7 +21,7 @@ import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.*; -import org.altusmetrum.AltosLib.*; +import org.altusmetrum.altoslib_1.*; public class AltosLanded extends JComponent implements AltosFlightDisplay, ActionListener { GridBagLayout layout; @@ -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); }