projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1a1da
)
altosui: Handle .mega files in Landed tab 'Graph Flight' button
author
Keith Packard
<keithp@keithp.com>
Mon, 22 Oct 2012 00:00:08 +0000
(17:00 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 22 Oct 2012 00:00:08 +0000
(17:00 -0700)
Need to check for .mega files here too.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosLanded.java
patch
|
blob
|
history
diff --git
a/altosui/AltosLanded.java
b/altosui/AltosLanded.java
index 0111a08a0df6a596e8b0d32434a15a6e7e60d715..5e073f7dce7184ff31ce9a7255c569f75c32e35e 100644
(file)
--- 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);
}