summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-01 19:51:25 -0700
committerKeith Packard <keithp@keithp.com>2012-06-01 19:51:25 -0700
commit1824761f5b98e92485e2dd347b1c4d043ec207e2 (patch)
tree9c84ad0d7b4007ce668b901091695fc4ddbebd5e /altosui/AltosUI.java
parentab85337aa942cb73a08bd3b783771179773b9a67 (diff)
altosui: Quick hacks to download megametrum data and convert to CSV
Very little useful data crunching is done, but at least we can save and convert files 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 6993abab..7d4b2edb 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -365,6 +365,8 @@ public class AltosUI extends AltosFrame {
in = new FileInputStream(file);
if (filename.endsWith("eeprom"))
return new AltosEepromIterable(in);
+ else if (filename.endsWith("mega"))
+ return new AltosEepromMegaIterable(in);
else
return new AltosTelemetryIterable(in);
} catch (FileNotFoundException fe) {