summaryrefslogtreecommitdiff
path: root/altosui/AltosDisplayThread.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-08-31 23:11:39 -0500
committerKeith Packard <keithp@keithp.com>2013-08-31 23:11:39 -0500
commit77dc89ed5b7bf8f5b3fa3b6131660f1a98f583ea (patch)
treef2b92c6d3e92d4b807ec945285bf15d91585367a /altosui/AltosDisplayThread.java
parentc781469ff907a32bd43a5d781391b6859b14cd32 (diff)
altoslib/altosui: Further AltosState transition work
Parses most eeprom and telem records now; altosui updated to show from AltosState info. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosDisplayThread.java')
-rw-r--r--altosui/AltosDisplayThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosDisplayThread.java b/altosui/AltosDisplayThread.java
index 70144fb2..7a750c86 100644
--- a/altosui/AltosDisplayThread.java
+++ b/altosui/AltosDisplayThread.java
@@ -110,7 +110,7 @@ public class AltosDisplayThread extends Thread {
*/
if (state.state >= Altos.ao_flight_drogue &&
(last ||
- System.currentTimeMillis() - state.report_time >= 15000 ||
+ System.currentTimeMillis() - state.received_time >= 15000 ||
state.state == Altos.ao_flight_landed))
{
if (Math.abs(state.speed) < 20 && state.height < 100)