X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosLanded.java;h=5e073f7dce7184ff31ce9a7255c569f75c32e35e;hb=22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c;hp=57c2d476989e9b5b50d1ff2701ea85d59a2d9ca1;hpb=e69a433fd93b9f6bd2297d8045eb075fee29e73b;p=fw%2Faltos diff --git a/altosui/AltosLanded.java b/altosui/AltosLanded.java index 57c2d476..5e073f7d 100644 --- a/altosui/AltosLanded.java +++ b/altosui/AltosLanded.java @@ -173,7 +173,7 @@ public class AltosLanded extends JComponent implements AltosFlightDisplay, Actio class Speed extends LandedValue { void show (AltosState state, int crc_errors) { - show(AltosConvert.speed, state.max_speed); + show(AltosConvert.speed, state.max_speed()); } public Speed (GridBagLayout layout, int y) { super (layout, y, "Maximum Speed"); @@ -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); }