diff options
| author | Keith Packard <keithp@keithp.com> | 2013-08-31 23:11:39 -0500 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-08-31 23:11:39 -0500 | 
| commit | 77dc89ed5b7bf8f5b3fa3b6131660f1a98f583ea (patch) | |
| tree | f2b92c6d3e92d4b807ec945285bf15d91585367a /altosui/AltosFlightStatus.java | |
| parent | c781469ff907a32bd43a5d781391b6859b14cd32 (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/AltosFlightStatus.java')
| -rw-r--r-- | altosui/AltosFlightStatus.java | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosFlightStatus.java b/altosui/AltosFlightStatus.java index 0be7bb51..6383e5b9 100644 --- a/altosui/AltosFlightStatus.java +++ b/altosui/AltosFlightStatus.java @@ -126,7 +126,7 @@ public class AltosFlightStatus extends JComponent implements AltosFlightDisplay  	class LastPacket extends FlightValue {  		void show(AltosState state, AltosListenerState listener_state) { -			long secs = (System.currentTimeMillis() - state.report_time + 500) / 1000; +			long secs = (System.currentTimeMillis() - state.received_time + 500) / 1000;  			value.setText(String.format("%d", secs));  		}  		public LastPacket(GridBagLayout layout, int x) {  | 
