projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Quick hacks to download megametrum data and convert to CSV
[fw/altos]
/
altosui
/
AltosDataChooser.java
diff --git
a/altosui/AltosDataChooser.java
b/altosui/AltosDataChooser.java
index d81ca6d1a128aa009c7420e0f9a67f96901ae4f4..488e1068b18bad58958726d00ffd0c19ef4a2696 100644
(file)
--- a/
altosui/AltosDataChooser.java
+++ b/
altosui/AltosDataChooser.java
@@
-56,6
+56,9
@@
public class AltosDataChooser extends JFileChooser {
} else if (filename.endsWith("telem")) {
FileInputStream in = new FileInputStream(file);
return new AltosTelemetryIterable(in);
} else if (filename.endsWith("telem")) {
FileInputStream in = new FileInputStream(file);
return new AltosTelemetryIterable(in);
+ } else if (filename.endsWith("mega")) {
+ FileInputStream in = new FileInputStream(file);
+ return new AltosEepromMegaIterable(in);
} else {
throw new FileNotFoundException();
}
} else {
throw new FileNotFoundException();
}