summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-19 23:07:54 -0700
committerKeith Packard <keithp@keithp.com>2013-05-19 23:07:54 -0700
commit57b4d82dee10b142b820aa306028a288a85214f6 (patch)
tree9150c9a89e622e63aa9164d11c3127652bd553a4 /altosui/AltosUI.java
parent27e9b93f3d35890a49575b2ead1983ce3c2fc213 (diff)
Add Mini logging format. Use in EasyMinilpc
This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index 9f8f6dda..4362e36c 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -354,6 +354,8 @@ public class AltosUI extends AltosUIFrame {
return new AltosEepromIterable(in);
else if (file.getName().endsWith("mega"))
return new AltosEepromMegaIterable(in);
+ else if (file.getName().endsWith("mini"))
+ return new AltosEepromMiniIterable(in);
else
return new AltosTelemetryIterable(in);
} catch (FileNotFoundException fe) {
@@ -441,6 +443,8 @@ public class AltosUI extends AltosUIFrame {
recs = new AltosEepromIterable(in);
} else if (file.getName().endsWith("mega")) {
recs = new AltosEepromMegaIterable(in);
+ } else if (file.getName().endsWith("mini")) {
+ recs = new AltosEepromMiniIterable(in);
} else {
recs = new AltosTelemetryIterable(in);
}