summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-13 13:32:56 -0700
committerKeith Packard <keithp@keithp.com>2012-10-13 13:32:56 -0700
commitc607bd1442e60fec1421955c996f6aad1d98647a (patch)
tree6f923622302eb2e8f604c6dffdb71054c0007387 /altosui/AltosUI.java
parent162a21dc423c2883a54f7d2a154871ae714d1552 (diff)
altosui: Parse .mega files from command line
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index b5cbefe7..dcc0de60 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -444,6 +444,8 @@ public class AltosUI extends AltosFrame {
//AltosReplayReader reader;
if (file.getName().endsWith("eeprom")) {
recs = new AltosEepromIterable(in);
+ } else if (file.getName().endsWith("mega")) {
+ recs = new AltosEepromMegaIterable(in);
} else {
recs = new AltosTelemetryIterable(in);
}