summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosTelemetry.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-08-05 22:49:53 -0400
committerKeith Packard <keithp@keithp.com>2010-08-05 22:49:53 -0400
commit0e917f3ff822616adb147517ac961422e5fedbfd (patch)
tree3b593c3d76b1bb67bd14b3fa05dbe7a69f3d56c2 /ao-tools/altosui/AltosTelemetry.java
parentd8bf05f7ad55964c9bce0551e58f4ef6c9f721ad (diff)
altosui: Compute flight state from eeprom data
This lets eeprom files be used to replay flights. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosTelemetry.java')
-rw-r--r--ao-tools/altosui/AltosTelemetry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosTelemetry.java b/ao-tools/altosui/AltosTelemetry.java
index f495be1d..af29b8c0 100644
--- a/ao-tools/altosui/AltosTelemetry.java
+++ b/ao-tools/altosui/AltosTelemetry.java
@@ -76,7 +76,7 @@ public class AltosTelemetry extends AltosRecord {
status = AltosParse.parse_hex(words[i++]);
AltosParse.word(words[i++], "STATE");
- state = words[i++];
+ state = Altos.state(words[i++]);
tick = AltosParse.parse_int(words[i++]);